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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp

Issue 2814643003: Remove FrameViewBase as base class of PluginView. (Closed)
Patch Set: Changed upstream to origin/master. Created 3 years, 8 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/core/layout/LayoutEmbeddedObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp b/third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp
index a60df869c8d06488197bb815a35fb020ded16b91..1bd98107c1fb05fa6932ff584045ac8eae7731d8 100644
--- a/third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp
@@ -138,8 +138,8 @@ void LayoutEmbeddedObject::GetLayout() {
UpdateLayerTransformAfterLayout();
- FrameViewBase* frame_view_base = this->PluginOrFrame();
- if (!frame_view_base && GetFrameView())
+ FrameOrPlugin* frame_or_plugin = GetFrameOrPlugin();
+ if (!frame_or_plugin && GetFrameView())
GetFrameView()->AddPartToUpdate(*this);
ClearNeedsLayout();

Powered by Google App Engine
This is Rietveld 408576698