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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp

Issue 1547893003: WIP - compositor worker mega patch. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 11 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: third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp
index e1e0e1368337a2b0b45f9fbc0625d820cb13af0f..efc3fabcecb4123d3c1e6837efedddbdc12b0682 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp
@@ -99,8 +99,10 @@ CompositingReasons CompositingReasonFinder::potentialCompositingReasonsFromStyle
if (style.hasPerspective())
reasons |= CompositingReasonPerspectiveWith3DDescendants;
- if (style.hasCompositorProxy())
+ if (style.hasCompositorProxy()) {
+ TRACE_EVENT0("compositor-worker", "CompositingReasonFinder -- has compositor proxy");
reasons |= CompositingReasonCompositorProxy;
+ }
// If the implementation of createsGroup changes, we need to be aware of that in this part of code.
ASSERT((layoutObject->isTransparent() || layoutObject->hasMask() || layoutObject->hasFilter() || style.hasBlendMode()) == layoutObject->createsGroup());

Powered by Google App Engine
This is Rietveld 408576698