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

Unified Diff: Source/core/layout/compositing/CompositingLayerAssigner.cpp

Issue 931003002: Move and rename RenderPart to LayoutPart. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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: Source/core/layout/compositing/CompositingLayerAssigner.cpp
diff --git a/Source/core/layout/compositing/CompositingLayerAssigner.cpp b/Source/core/layout/compositing/CompositingLayerAssigner.cpp
index 41f6ec04dd4da7e1b709d8ee99d5ee4d3a0e8f56..145a2ad17526d81b95e89a38228869509bef859b 100644
--- a/Source/core/layout/compositing/CompositingLayerAssigner.cpp
+++ b/Source/core/layout/compositing/CompositingLayerAssigner.cpp
@@ -130,8 +130,8 @@ CompositingReasons CompositingLayerAssigner::getReasonsPreventingSquashing(const
// 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() || squashingLayer.renderer()->isRenderPart())
- return CompositingReasonSquashingRenderPartIsDisallowed;
+ if (layer->renderer()->isLayoutPart() || squashingLayer.renderer()->isLayoutPart())
+ return CompositingReasonSquashingLayoutPartIsDisallowed;
if (layer->reflectionInfo())
return CompositingReasonSquashingReflectionIsDisallowed;
« no previous file with comments | « Source/core/layout/compositing/CompositedLayerMapping.cpp ('k') | Source/core/layout/compositing/GraphicsLayerTreeBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698