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

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

Issue 15425006: Revert "Remove NonCompositedContentHost" and follow-up rebaselining. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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/rendering/RenderObject.cpp ('k') | public/platform/WebContentLayer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderView.cpp
diff --git a/Source/core/rendering/RenderView.cpp b/Source/core/rendering/RenderView.cpp
index ea77092aec139c1f82477c104060056e8c300c5d..81b5595ba27f108931c255321ef2752709d0418f 100644
--- a/Source/core/rendering/RenderView.cpp
+++ b/Source/core/rendering/RenderView.cpp
@@ -434,8 +434,10 @@ void RenderView::paintBoxDecorations(PaintInfo& paintInfo, const LayoutPoint&)
}
if (RenderLayer* compositingLayer = layer->enclosingCompositingLayerForRepaint()) {
- frameView()->setCannotBlitToWindow();
- break;
+ if (!compositingLayer->backing()->paintsIntoWindow()) {
+ frameView()->setCannotBlitToWindow();
+ break;
+ }
}
}
« no previous file with comments | « Source/core/rendering/RenderObject.cpp ('k') | public/platform/WebContentLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698