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

Unified Diff: Source/web/WebPluginContainerImpl.cpp

Issue 898783003: Move rendering/RenderLayer* to layout/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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/web/WebMediaPlayerClientImpl.cpp ('k') | Source/web/WebViewImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebPluginContainerImpl.cpp
diff --git a/Source/web/WebPluginContainerImpl.cpp b/Source/web/WebPluginContainerImpl.cpp
index fe2c5f972c76009b4a7fdd4ccff57581f5b0a939..e8e198d14626cd43aba4f4f056c92578957680d0 100644
--- a/Source/web/WebPluginContainerImpl.cpp
+++ b/Source/web/WebPluginContainerImpl.cpp
@@ -50,6 +50,7 @@
#include "core/html/HTMLFormElement.h"
#include "core/html/HTMLPlugInElement.h"
#include "core/layout/HitTestResult.h"
+#include "core/layout/Layer.h"
#include "core/loader/FormState.h"
#include "core/loader/FrameLoadRequest.h"
#include "core/page/Chrome.h"
@@ -59,7 +60,6 @@
#include "core/page/scrolling/ScrollingCoordinator.h"
#include "core/plugins/PluginOcclusionSupport.h"
#include "core/rendering/RenderBox.h"
-#include "core/rendering/RenderLayer.h"
#include "core/rendering/RenderPart.h"
#include "platform/HostWindow.h"
#include "platform/KeyboardCodes.h"
@@ -144,7 +144,7 @@ void WebPluginContainerImpl::invalidateRect(const IntRect& rect)
dirtyRect.move(renderer->borderLeft() + renderer->paddingLeft(),
renderer->borderTop() + renderer->paddingTop());
- // For querying RenderLayer::compositingState().
+ // For querying Layer::compositingState().
// This code should be correct.
DisableCompositingQueryAsserts disabler;
renderer->invalidatePaintRectangle(dirtyRect);
@@ -308,7 +308,7 @@ void WebPluginContainerImpl::setWebLayer(WebLayer* layer)
m_element->setNeedsCompositingUpdate();
// Being composited or not affects the self painting layer bit
- // on the RenderLayer.
+ // on the Layer.
if (RenderPart* renderer = m_element->renderPart()) {
ASSERT(renderer->hasLayer());
renderer->layer()->updateSelfPaintingLayer();
« no previous file with comments | « Source/web/WebMediaPlayerClientImpl.cpp ('k') | Source/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698