Skip to content
Snippets Groups Projects
Unverified Commit 41091355 authored by Charles Kerr's avatar Charles Kerr
Browse files

refactor: add SerialChooserController::web_contents_

Add a `base::WeakPtr<WebContents>` field to SerialChooserController and
stop subclassing from WebContentsObserver. This follows the Observer docs:

> don't create a `WebContentsObserver` just to be able to check
> for a null `WebContentsObserver::web_contents()`.
> Use a `base::WeakPtr<WebContents>` instead.
parent e8948397
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment