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

Unified Diff: Source/core/rendering/RenderTreeAsText.cpp

Issue 714933002: Set relayoutChildren to 'true' only if size change happens in Table (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: wrong patch Created 6 years, 1 month 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: Source/core/rendering/RenderTreeAsText.cpp
diff --git a/Source/core/rendering/RenderTreeAsText.cpp b/Source/core/rendering/RenderTreeAsText.cpp
index a88b280ebd1443ec3fc6d5ac413b204554d762f3..c1efe45af2a055bb322fd40dfaf5411458a0ba5c 100644
--- a/Source/core/rendering/RenderTreeAsText.cpp
+++ b/Source/core/rendering/RenderTreeAsText.cpp
@@ -552,11 +552,11 @@ static void write(TextStream& ts, RenderLayer& l,
ts << " blendMode: " << compositeOperatorName(CompositeSourceOver, l.renderer()->style()->blendMode());
if (behavior & RenderAsTextShowCompositedLayers) {
- if (l.hasCompositedLayerMapping()) {
+ if (CompositedLayerMapping* compositedLayerMapping = l.compositedLayerMapping()) {
ts << " (composited, bounds="
- << l.compositedLayerMapping()->compositedBounds()
+ << compositedLayerMapping->compositedBounds()
<< ", drawsContent="
- << l.compositedLayerMapping()->mainGraphicsLayer()->drawsContent()
+ << compositedLayerMapping->mainGraphicsLayer()->drawsContent()
<< (l.shouldIsolateCompositedDescendants() ? ", isolatesCompositedBlending" : "")
<< ")";
}
« no previous file with comments | « Source/core/rendering/RenderLayerScrollableArea.cpp ('k') | Source/core/rendering/compositing/CompositedLayerMapping.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698