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

Unified Diff: Source/core/layout/SubtreeLayoutScope.h

Issue 1025213002: Begin tracking why layout is invalidated (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 5 years, 9 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/layout/LayoutVideo.cpp ('k') | Source/core/layout/SubtreeLayoutScope.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/SubtreeLayoutScope.h
diff --git a/Source/core/layout/SubtreeLayoutScope.h b/Source/core/layout/SubtreeLayoutScope.h
index 87a575621018303a0a7f941a8d8dcedf1e32a216..7f380493e8324872cbdbf54599c3e442b6e3eac9 100644
--- a/Source/core/layout/SubtreeLayoutScope.h
+++ b/Source/core/layout/SubtreeLayoutScope.h
@@ -31,6 +31,7 @@
#ifndef SubtreeLayoutScope_h
#define SubtreeLayoutScope_h
+#include "core/inspector/InspectorTraceEvents.h"
#include "wtf/HashSet.h"
// This is the way to mark a subtree as needing layout during layout,
@@ -51,7 +52,7 @@ public:
SubtreeLayoutScope(LayoutObject& root);
~SubtreeLayoutScope();
- void setNeedsLayout(LayoutObject* descendant);
+ void setNeedsLayout(LayoutObject* descendant, LayoutInvalidationReasonForTracing);
void setChildNeedsLayout(LayoutObject* descendant);
LayoutObject& root() { return m_root; }
« no previous file with comments | « Source/core/layout/LayoutVideo.cpp ('k') | Source/core/layout/SubtreeLayoutScope.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698