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

Unified Diff: Source/core/frame/FrameView.h

Issue 164553004: Convert LayoutState/LayoutStateMaintainer/LayoutStateDisabler to references (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 10 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
« no previous file with comments | « no previous file | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/FrameView.h
diff --git a/Source/core/frame/FrameView.h b/Source/core/frame/FrameView.h
index a83d2fac5cbf7c0f62110438ca780436ece97d9c..d9ec348f6839b15dceafc336eb5124caaf84457b 100644
--- a/Source/core/frame/FrameView.h
+++ b/Source/core/frame/FrameView.h
@@ -307,6 +307,7 @@ public:
virtual void willRemoveScrollbar(Scrollbar*, ScrollbarOrientation) OVERRIDE;
virtual bool shouldAttemptToScrollUsingFastPath() const OVERRIDE;
+ bool isSubtreeLayout() const { return !!m_layoutSubtreeRoot; }
protected:
virtual bool scrollContentsFastPath(const IntSize& scrollDelta, const IntRect& rectToScroll, const IntRect& clipRect) OVERRIDE;
@@ -397,7 +398,6 @@ private:
void setLayoutSizeInternal(const IntSize&);
- bool isSubtreeLayout() const { return !!m_layoutSubtreeRoot; }
bool repaintAllowed() const
{
if (!RuntimeEnabledFeatures::repaintAfterLayoutEnabled())
« no previous file with comments | « no previous file | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698