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

Unified Diff: Source/web/WebViewImpl.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/WebPluginContainerImpl.cpp ('k') | Source/web/tests/ScrollingCoordinatorTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebViewImpl.cpp
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
index 282642e05ed59e100f62299c92d5626c19a55bf0..9d314fb083d8c013b0979c995412fab2c297abae 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -65,6 +65,7 @@
#include "core/html/forms/PopupMenuClient.h"
#include "core/html/ime/InputMethodContext.h"
#include "core/inspector/InspectorController.h"
+#include "core/layout/LayoutPart.h"
#include "core/layout/TextAutosizer.h"
#include "core/layout/compositing/LayerCompositor.h"
#include "core/loader/DocumentLoader.h"
@@ -84,7 +85,6 @@
#include "core/page/PointerLockController.h"
#include "core/page/ScopedPageLoadDeferrer.h"
#include "core/page/TouchDisambiguation.h"
-#include "core/rendering/RenderPart.h"
#include "core/rendering/RenderView.h"
#include "core/storage/StorageNamespaceController.h"
#include "modules/accessibility/AXObject.h"
@@ -3501,8 +3501,8 @@ void WebViewImpl::performPluginAction(const WebPluginAction& action,
return;
LayoutObject* object = node->renderer();
- if (object && object->isRenderPart()) {
- Widget* widget = toRenderPart(object)->widget();
+ if (object && object->isLayoutPart()) {
+ Widget* widget = toLayoutPart(object)->widget();
if (widget && widget->isPluginContainer()) {
WebPluginContainerImpl* plugin = toWebPluginContainerImpl(widget);
switch (action.type) {
« no previous file with comments | « Source/web/WebPluginContainerImpl.cpp ('k') | Source/web/tests/ScrollingCoordinatorTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698