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

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

Issue 327963005: Remove call to updateLayerCompositingState in RenderLayer::contentChanged (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderLayer.cpp
diff --git a/Source/core/rendering/RenderLayer.cpp b/Source/core/rendering/RenderLayer.cpp
index c522d680cb6beeb2b9b0dbb63e67aa882bf2a590..64c2b487a7cc801d7e65c668fdd862971a65eea0 100644
--- a/Source/core/rendering/RenderLayer.cpp
+++ b/Source/core/rendering/RenderLayer.cpp
@@ -201,10 +201,8 @@ void RenderLayer::contentChanged(ContentChangeType changeType)
DisableCompositingQueryAsserts disabler;
// This can get called when video becomes accelerated, so the layers may change.
- if (changeType == CanvasChanged || changeType == VideoChanged || changeType == FullScreenChanged) {
- compositor()->updateLayerCompositingState(this);
+ if (changeType == CanvasChanged || changeType == VideoChanged || changeType == FullScreenChanged)
compositor()->setNeedsCompositingUpdate(CompositingUpdateAfterCompositingInputChange);
- }
if (changeType == CanvasContextChanged) {
compositor()->setNeedsCompositingUpdate(CompositingUpdateAfterCompositingInputChange);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698