f609d77e29
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. Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Charles Kerr <charles@charleskerr.com> |
||
---|---|---|
.. | ||
electron_serial_delegate.cc | ||
electron_serial_delegate.h | ||
serial_chooser_context.cc | ||
serial_chooser_context.h | ||
serial_chooser_context_factory.cc | ||
serial_chooser_context_factory.h | ||
serial_chooser_controller.cc | ||
serial_chooser_controller.h |