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

Unified Diff: third_party/WebKit/Source/core/paint/FramePainter.cpp

Issue 1878943011: CL for perf tryjob on linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.cpp ('k') | tools/perf/run_benchmark » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/paint/FramePainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/FramePainter.cpp b/third_party/WebKit/Source/core/paint/FramePainter.cpp
index 3671bf714bc73b36def4cf54dd00a7dc6c1d6d54..a801a2c9dc30ced8ff16e683672374cf2f5a1411 100644
--- a/third_party/WebKit/Source/core/paint/FramePainter.cpp
+++ b/third_party/WebKit/Source/core/paint/FramePainter.cpp
@@ -9,6 +9,7 @@
#include "core/frame/FrameView.h"
#include "core/inspector/InspectorInstrumentation.h"
#include "core/inspector/InspectorTraceEvents.h"
+#include "core/layout/LayoutPart.h"
#include "core/layout/LayoutView.h"
#include "core/page/Page.h"
#include "core/paint/LayoutObjectDrawingRecorder.h"
@@ -121,6 +122,13 @@ void FramePainter::paintContents(GraphicsContext& context, const GlobalPaintFlag
}
if (!frameView().shouldThrottleRendering()) {
+ if (frameView().needsLayout()) {
+ fprintf(stderr, "frameView %p needsLayout (layoutPending: %d layoutViewNeedsLayout: %d isSubtreeLayout: %d)!!!!\n",
+ &frameView(), frameView().m_hasPendingLayout, frameView().layoutView() && frameView().layoutView()->needsLayout(), frameView().isSubtreeLayout());
+ showLayoutTree(frameView().layoutView());
+ showLayoutTree(frameView().frame().ownerLayoutObject());
+ frameView().showFrameTree();
+ }
RELEASE_ASSERT(!frameView().needsLayout());
ASSERT(document->lifecycle().state() >= DocumentLifecycle::CompositingClean);
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.cpp ('k') | tools/perf/run_benchmark » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698