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

Unified Diff: sky/engine/core/rendering/compositing/CompositingLayerAssigner.cpp

Issue 686903003: Remove RenderPart. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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
Index: sky/engine/core/rendering/compositing/CompositingLayerAssigner.cpp
diff --git a/sky/engine/core/rendering/compositing/CompositingLayerAssigner.cpp b/sky/engine/core/rendering/compositing/CompositingLayerAssigner.cpp
index 2399b525293721a6211b174232750337903ea457..de9a81fcdc853f2c9aea1502af949765e4b34e92 100644
--- a/sky/engine/core/rendering/compositing/CompositingLayerAssigner.cpp
+++ b/sky/engine/core/rendering/compositing/CompositingLayerAssigner.cpp
@@ -130,11 +130,6 @@ CompositingReasons CompositingLayerAssigner::getReasonsPreventingSquashing(const
if (layer->renderer()->isVideo())
return CompositingReasonSquashingVideoIsDisallowed;
- // Don't squash iframes, frames or plugins.
- // FIXME: this is only necessary because there is frame code that assumes that composited frames are not squashed.
- if (layer->renderer()->isRenderPart())
- return CompositingReasonSquashingRenderPartIsDisallowed;
-
if (squashingWouldExceedSparsityTolerance(layer, squashingState))
return CompositingReasonSquashingSparsityExceeded;

Powered by Google App Engine
This is Rietveld 408576698