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

Unified Diff: Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp

Issue 1309243006: Remove old repaint rect tracking from FrameView. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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/frame/FrameView.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp
diff --git a/Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp b/Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp
index 53657cedd899cc8ab4f52e093fa34c4a0a19b8e6..b4421cf820e2e1d044528dc327873706d772562b 100644
--- a/Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp
+++ b/Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp
@@ -620,14 +620,7 @@ String DeprecatedPaintLayerCompositor::layerTreeAsText(LayerTreeFlags flags)
if (flags & LayerTreeIncludesRootLayer)
rootLayer = rootGraphicsLayer();
- String layerTreeText = rootLayer->layerTreeAsText(flags);
-
- // The true root layer is not included in the dump, so if we want to report
- // its paint invalidation rects, they must be included here.
- if (flags & LayerTreeIncludesPaintInvalidationRects)
- return m_layoutView.frameView()->trackedPaintInvalidationRectsAsText() + layerTreeText;
-
- return layerTreeText;
+ return rootLayer->layerTreeAsText(flags);
}
DeprecatedPaintLayerCompositor* DeprecatedPaintLayerCompositor::frameContentsCompositor(LayoutPart* layoutObject)
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698