Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1422)

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.h

Issue 2063773002: Reland: WTF: Implement explicit RefPtr::operator bool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/WebViewImpl.h
diff --git a/third_party/WebKit/Source/web/WebViewImpl.h b/third_party/WebKit/Source/web/WebViewImpl.h
index 26724a5f5c35bee10c4949425161f94d96077eb0..09d18972b77175cd28ed4e3f140f21dfc09a7987 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.h
+++ b/third_party/WebKit/Source/web/WebViewImpl.h
@@ -437,7 +437,7 @@ public:
WebViewScheduler* scheduler() const override;
void setVisibilityState(WebPageVisibilityState, bool) override;
- bool hasOpenedPopup() const { return m_pagePopup; }
+ bool hasOpenedPopup() const { return m_pagePopup.get(); }
// Returns true if the event leads to scrolling.
static bool mapKeyCodeForScroll(
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp ('k') | third_party/WebKit/Source/wtf/PassRefPtr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698