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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.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/platform/graphics/GraphicsLayerDebugInfo.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.cpp
index 3820b8a536e2fe648467901518c5f9c07d30c511..1added1935db23a3bee1a7d639221f0237ad8735 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayerDebugInfo.cpp
@@ -25,7 +25,6 @@ namespace blink {
GraphicsLayerDebugInfo::GraphicsLayerDebugInfo()
: m_compositingReasons(CompositingReasonNone)
- , m_ownerNodeId(0)
{
}
@@ -36,7 +35,6 @@ scoped_refptr<base::trace_event::TracedValue> GraphicsLayerDebugInfo::asTracedVa
scoped_refptr<base::trace_event::TracedValue> tracedValue = new base::trace_event::TracedValue;
appendAnnotatedInvalidateRects(tracedValue.get());
appendCompositingReasons(tracedValue.get());
- appendOwnerNodeId(tracedValue.get());
return tracedValue;
}
@@ -69,14 +67,6 @@ void GraphicsLayerDebugInfo::appendCompositingReasons(base::trace_event::TracedV
tracedValue->EndArray();
}
-void GraphicsLayerDebugInfo::appendOwnerNodeId(base::trace_event::TracedValue* tracedValue) const
-{
- if (!m_ownerNodeId)
- return;
-
- tracedValue->SetInteger("owner_node", m_ownerNodeId);
-}
-
void GraphicsLayerDebugInfo::appendAnnotatedInvalidateRect(const FloatRect& rect, PaintInvalidationReason invalidationReason)
{
AnnotatedInvalidationRect annotatedRect = {

Powered by Google App Engine
This is Rietveld 408576698