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

Unified Diff: Source/web/WebPluginContainerImpl.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/web/WebNode.cpp ('k') | Source/web/WebViewImpl.cpp » ('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 b91c1c820b0b52ab8a7def30acb784c667eb1b24..f9ada22df6e61510479b5c639df71d9d0a608d86 100644
--- a/Source/web/WebPluginContainerImpl.cpp
+++ b/Source/web/WebPluginContainerImpl.cpp
@@ -51,6 +51,7 @@
#include "core/html/HTMLPlugInElement.h"
#include "core/layout/HitTestResult.h"
#include "core/layout/Layer.h"
+#include "core/layout/LayoutPart.h"
#include "core/loader/FormState.h"
#include "core/loader/FrameLoadRequest.h"
#include "core/page/Chrome.h"
@@ -60,7 +61,6 @@
#include "core/page/scrolling/ScrollingCoordinator.h"
#include "core/plugins/PluginOcclusionSupport.h"
#include "core/rendering/RenderBox.h"
-#include "core/rendering/RenderPart.h"
#include "platform/HostWindow.h"
#include "platform/KeyboardCodes.h"
#include "platform/PlatformGestureEvent.h"
@@ -311,7 +311,7 @@ void WebPluginContainerImpl::setWebLayer(WebLayer* layer)
m_element->setNeedsCompositingUpdate();
// Being composited or not affects the self painting layer bit
// on the Layer.
- if (RenderPart* renderer = m_element->renderPart()) {
+ if (LayoutPart* renderer = m_element->layoutPart()) {
ASSERT(renderer->hasLayer());
renderer->layer()->updateSelfPaintingLayer();
}
« no previous file with comments | « Source/web/WebNode.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698