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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.cpp

Issue 2737883002: Rename LayoutPart::widget to LayoutPart::frameViewBase (Closed)
Patch Set: Rename LayoutPart::widget to LayoutPart::frameViewBase Created 3 years, 9 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: third_party/WebKit/Source/web/WebViewImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
index 05ff38f2f8776437445527b12297ff3c72907a88..c4125b024c931cc5fd14a2513819dc9c6d8420cb 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -1158,7 +1158,7 @@ WebInputEventResult WebViewImpl::handleKeyEvent(const WebKeyboardEvent& event) {
// If the plugin supports keyboard focus then we should not send a tab
// keypress event.
FrameViewBase* frameViewBase =
- toLayoutPart(element->layoutObject())->widget();
+ toLayoutPart(element->layoutObject())->frameViewBase();
if (frameViewBase && frameViewBase->isPluginContainer()) {
WebPluginContainerImpl* plugin =
toWebPluginContainerImpl(frameViewBase);
@@ -3346,7 +3346,7 @@ void WebViewImpl::performPluginAction(const WebPluginAction& action,
LayoutObject* object = node->layoutObject();
if (object && object->isLayoutPart()) {
- FrameViewBase* frameViewWidget = toLayoutPart(object)->widget();
+ FrameViewBase* frameViewWidget = toLayoutPart(object)->frameViewBase();
if (frameViewWidget && frameViewWidget->isPluginContainer()) {
WebPluginContainerImpl* plugin =
toWebPluginContainerImpl(frameViewWidget);
« no previous file with comments | « third_party/WebKit/Source/web/WebNode.cpp ('k') | third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698