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

Unified Diff: Source/core/layout/compositing/CompositedLayerMapping.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
« no previous file with comments | « Source/core/layout/PaintInfo.h ('k') | Source/core/layout/compositing/CompositingLayerAssigner.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/compositing/CompositedLayerMapping.cpp
diff --git a/Source/core/layout/compositing/CompositedLayerMapping.cpp b/Source/core/layout/compositing/CompositedLayerMapping.cpp
index d9079803682d0aaa508b13d96e2ac4ead1e5bbf9..4997f726877b03fe602dee446160af88d94d89e6 100644
--- a/Source/core/layout/compositing/CompositedLayerMapping.cpp
+++ b/Source/core/layout/compositing/CompositedLayerMapping.cpp
@@ -41,6 +41,7 @@
#include "core/layout/FilterEffectRenderer.h"
#include "core/layout/LayerStackingNodeIterator.h"
#include "core/layout/LayoutImage.h"
+#include "core/layout/LayoutPart.h"
#include "core/layout/LayoutVideo.h"
#include "core/layout/compositing/LayerCompositor.h"
#include "core/layout/style/KeyframeList.h"
@@ -53,7 +54,6 @@
#include "core/paint/TransformRecorder.h"
#include "core/plugins/PluginView.h"
#include "core/rendering/RenderEmbeddedObject.h"
-#include "core/rendering/RenderPart.h"
#include "core/rendering/RenderView.h"
#include "platform/LengthFunctions.h"
#include "platform/RuntimeEnabledFeatures.h"
@@ -341,8 +341,8 @@ void CompositedLayerMapping::updateCompositedBounds()
void CompositedLayerMapping::updateAfterPartResize()
{
- if (renderer()->isRenderPart()) {
- if (LayerCompositor* innerCompositor = LayerCompositor::frameContentsCompositor(toRenderPart(renderer()))) {
+ if (renderer()->isLayoutPart()) {
+ if (LayerCompositor* innerCompositor = LayerCompositor::frameContentsCompositor(toLayoutPart(renderer()))) {
innerCompositor->frameViewDidChangeSize();
// We can floor this point because our frameviews are always aligned to pixel boundaries.
ASSERT(m_compositedBounds.location() == flooredIntPoint(m_compositedBounds.location()));
@@ -534,8 +534,8 @@ bool CompositedLayerMapping::updateGraphicsLayerConfiguration()
m_graphicsLayer->setContentsToPlatformLayer(context->platformLayer());
layerConfigChanged = true;
}
- if (renderer->isRenderPart())
- layerConfigChanged = LayerCompositor::parentFrameContentLayers(toRenderPart(renderer));
+ if (renderer->isLayoutPart())
+ layerConfigChanged = LayerCompositor::parentFrameContentLayers(toLayoutPart(renderer));
// Changes to either the internal hierarchy or the mask layer have an impact
// on painting phases, so we need to update when either are updated.
« no previous file with comments | « Source/core/layout/PaintInfo.h ('k') | Source/core/layout/compositing/CompositingLayerAssigner.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698