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

Unified Diff: sky/engine/core/rendering/RenderTreeAsText.cpp

Issue 877043002: Remove RenderLayerScrollableArea (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « sky/engine/core/rendering/RenderObject.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/rendering/RenderTreeAsText.cpp
diff --git a/sky/engine/core/rendering/RenderTreeAsText.cpp b/sky/engine/core/rendering/RenderTreeAsText.cpp
index e1798e67ce6116998b7a1a98c13332739a3cb358..2ae4edfb2670ae1b46a8bc2d525179b543cba11d 100644
--- a/sky/engine/core/rendering/RenderTreeAsText.cpp
+++ b/sky/engine/core/rendering/RenderTreeAsText.cpp
@@ -368,17 +368,6 @@ static void write(TextStream& ts, RenderLayer& l,
if (l.isTransparent())
ts << " transparent";
- if (l.renderer()->hasOverflowClip()) {
- if (l.scrollableArea()->scrollXOffset())
- ts << " scrollX " << l.scrollableArea()->scrollXOffset();
- if (l.scrollableArea()->scrollYOffset())
- ts << " scrollY " << l.scrollableArea()->scrollYOffset();
- if (l.renderBox() && l.renderBox()->pixelSnappedClientWidth() != l.renderBox()->pixelSnappedScrollWidth())
- ts << " scrollWidth " << l.renderBox()->pixelSnappedScrollWidth();
- if (l.renderBox() && l.renderBox()->pixelSnappedClientHeight() != l.renderBox()->pixelSnappedScrollHeight())
- ts << " scrollHeight " << l.renderBox()->pixelSnappedScrollHeight();
- }
-
if (paintPhase == LayerPaintPhaseBackground)
ts << " layerType: background only";
else if (paintPhase == LayerPaintPhaseForeground)
« no previous file with comments | « sky/engine/core/rendering/RenderObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698