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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBox.h

Issue 1878253003: Allow explicit conversion operators and implement WTF::OwnPtr::operator bool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 8 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/core/layout/LayoutBox.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.h b/third_party/WebKit/Source/core/layout/LayoutBox.h
index a8e98dfe7b5b82f3bf635a83bfac83fc9bcc4272..eaf9d7b966fde6ce720d236b14cd6d6a23c28d6d 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h
@@ -849,7 +849,7 @@ public:
LayoutRect logicalLayoutOverflowRectForPropagation(const ComputedStyle&) const;
LayoutRect layoutOverflowRectForPropagation(const ComputedStyle&) const;
- bool hasOverflowModel() const { return m_overflow; }
+ bool hasOverflowModel() const { return m_overflow.get(); }
bool hasVisualOverflow() const { return m_overflow && !borderBoxRect().contains(m_overflow->visualOverflowRect()); }
virtual bool needsPreferredWidthsRecalculation() const;

Powered by Google App Engine
This is Rietveld 408576698