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

Unified Diff: Source/core/layout/compositing/GraphicsLayerTreeBuilder.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/GraphicsLayerTreeBuilder.cpp
diff --git a/Source/core/layout/compositing/GraphicsLayerTreeBuilder.cpp b/Source/core/layout/compositing/GraphicsLayerTreeBuilder.cpp
index 799fe4a8aa26311aa8b5f3a5e4f195823fa8ce73..50ff9cd1d3819216a28032f5fe0f5f1db4f8e719 100644
--- a/Source/core/layout/compositing/GraphicsLayerTreeBuilder.cpp
+++ b/Source/core/layout/compositing/GraphicsLayerTreeBuilder.cpp
@@ -31,9 +31,9 @@
#include "core/html/HTMLVideoElement.h"
#include "core/layout/Layer.h"
#include "core/layout/LayerReflectionInfo.h"
+#include "core/layout/LayoutPart.h"
#include "core/layout/compositing/CompositedLayerMapping.h"
#include "core/layout/compositing/LayerCompositor.h"
-#include "core/rendering/RenderPart.h"
#include "core/rendering/RenderView.h"
namespace blink {
@@ -101,8 +101,8 @@ void GraphicsLayerTreeBuilder::rebuild(Layer& layer, AncestorInfo info)
if (hasCompositedLayerMapping) {
bool parented = false;
- if (layer.renderer()->isRenderPart())
- parented = LayerCompositor::parentFrameContentLayers(toRenderPart(layer.renderer()));
+ if (layer.renderer()->isLayoutPart())
+ parented = LayerCompositor::parentFrameContentLayers(toLayoutPart(layer.renderer()));
if (!parented)
currentCompositedLayerMapping->parentForSublayers()->setChildren(layerChildren);
« no previous file with comments | « Source/core/layout/compositing/CompositingLayerAssigner.cpp ('k') | Source/core/layout/compositing/LayerCompositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698