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

Unified Diff: cc/layers/picture_layer_impl.cc

Issue 474783002: HUD: Show first paint invalidation in red (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update only when needed Created 6 years, 4 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: cc/layers/picture_layer_impl.cc
diff --git a/cc/layers/picture_layer_impl.cc b/cc/layers/picture_layer_impl.cc
index fb8f70150878e07eaa6e356d4301e0cba92caf19..707abf45bb6c1953b82fd9cc6f875edacfddf71a 100644
--- a/cc/layers/picture_layer_impl.cc
+++ b/cc/layers/picture_layer_impl.cc
@@ -1408,6 +1408,10 @@ void PictureLayerImpl::AsValueInto(base::debug::TracedValue* state) const {
invalidation_.AsValueInto(state);
state->EndArray();
+ state->SetBoolean(
+ "invalidation_includes_first_paint",
+ debug_info() && debug_info()->IncludesFirstPaintInvalidation());
+
state->BeginArray("coverage_tiles");
for (PictureLayerTilingSet::CoverageIterator iter(tilings_.get(),
contents_scale_x(),

Powered by Google App Engine
This is Rietveld 408576698