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

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

Issue 19782002: Make Blink stop scheduling its own Layout, and use the compositor's timer instead (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: With test changes Created 7 years, 5 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 | « Source/core/dom/Document.cpp ('k') | Source/core/page/FrameView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/FrameView.h
diff --git a/Source/core/page/FrameView.h b/Source/core/page/FrameView.h
index ff021cf007f9659f1daf79d2159ae7c9807b55b5..a2af7015697679b0680ade290a601a28c82282a6 100644
--- a/Source/core/page/FrameView.h
+++ b/Source/core/page/FrameView.h
@@ -99,7 +99,7 @@ public:
void scheduleRelayout();
void scheduleRelayoutOfSubtree(RenderObject*);
void unscheduleRelayout();
- bool layoutPending() const;
+ bool layoutIsScheduledWithEmbedder() const;
bool isInLayout() const { return m_inLayout; }
void layoutLazyBlocks();
@@ -353,6 +353,8 @@ protected:
private:
explicit FrameView(Frame*);
+ void scheduleLayoutWithEmbedder();
+
void reset();
void init();
@@ -445,7 +447,7 @@ private:
int m_borderX;
int m_borderY;
- Timer<FrameView> m_layoutTimer;
+ bool m_layoutIsScheduledWithEmbedder;
bool m_delayedLayout;
RenderObject* m_layoutRoot;
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/page/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698