| Index: third_party/WebKit/Source/web/WebPluginContainerImpl.h
|
| diff --git a/third_party/WebKit/Source/web/WebPluginContainerImpl.h b/third_party/WebKit/Source/web/WebPluginContainerImpl.h
|
| index fbf8d7748c756abc9594819fc99e7f08e1bfafb1..c033f7f41c60e6fa522a78dd1afdd8e717b60ecb 100644
|
| --- a/third_party/WebKit/Source/web/WebPluginContainerImpl.h
|
| +++ b/third_party/WebKit/Source/web/WebPluginContainerImpl.h
|
| @@ -34,7 +34,7 @@
|
|
|
| #include "core/dom/ContextLifecycleObserver.h"
|
| #include "core/plugins/PluginView.h"
|
| -#include "platform/Widget.h"
|
| +#include "platform/FrameViewBase.h"
|
| #include "public/web/WebPluginContainer.h"
|
| #include "web/WebExport.h"
|
| #include "wtf/Compiler.h"
|
| @@ -81,7 +81,7 @@ class WEB_EXPORT WebPluginContainerImpl final
|
| void updateAllLifecyclePhases() override;
|
| void invalidatePaintIfNeeded() override { issuePaintInvalidations(); }
|
|
|
| - // Widget methods
|
| + // FrameViewBase methods
|
| void setFrameRect(const IntRect&) override;
|
| void paint(GraphicsContext&, const CullRect&) const override;
|
| void invalidateRect(const IntRect&) override;
|
| @@ -220,11 +220,11 @@ class WEB_EXPORT WebPluginContainerImpl final
|
| };
|
|
|
| DEFINE_TYPE_CASTS(WebPluginContainerImpl,
|
| - Widget,
|
| - widget,
|
| - widget->isPluginContainer(),
|
| - widget.isPluginContainer());
|
| -// Unlike Widget, we need not worry about object type for container.
|
| + FrameViewBase,
|
| + frameViewBase,
|
| + frameViewBase->isPluginContainer(),
|
| + frameViewBase.isPluginContainer());
|
| +// Unlike FrameViewBase, we need not worry about object type for container.
|
| // WebPluginContainerImpl is the only subclass of WebPluginContainer.
|
| DEFINE_TYPE_CASTS(WebPluginContainerImpl,
|
| WebPluginContainer,
|
|
|