Chromium Code Reviews| Index: third_party/WebKit/Source/core/html/PluginDocument.h |
| diff --git a/third_party/WebKit/Source/core/html/PluginDocument.h b/third_party/WebKit/Source/core/html/PluginDocument.h |
| index af2f69261187bc26a7fe775f83714cf8d5f26552..d7fc8bb306d85edca289b3cff8e0ee17686b9415 100644 |
| --- a/third_party/WebKit/Source/core/html/PluginDocument.h |
| +++ b/third_party/WebKit/Source/core/html/PluginDocument.h |
| @@ -30,7 +30,7 @@ |
| namespace blink { |
| -class Node; |
| +class HTMLPlugInElement; |
| class PluginView; |
| class CORE_EXPORT PluginDocument final : public HTMLDocument { |
| @@ -40,10 +40,12 @@ class CORE_EXPORT PluginDocument final : public HTMLDocument { |
| return new PluginDocument(initializer); |
| } |
| - void SetPluginNode(Node* plugin_node) { plugin_node_ = plugin_node; } |
| + void SetPluginNode(HTMLPlugInElement* plugin_node) { |
| + plugin_node_ = plugin_node; |
| + } |
| + HTMLPlugInElement* PluginNode() { return plugin_node_; } |
| PluginView* GetPluginView(); |
| - Node* PluginNode(); |
| void Shutdown() override; |
| @@ -54,7 +56,7 @@ class CORE_EXPORT PluginDocument final : public HTMLDocument { |
| DocumentParser* CreateParser() override; |
| - Member<Node> plugin_node_; |
| + Member<HTMLPlugInElement> plugin_node_; |
|
joelhockey
2017/05/01 23:04:35
plugin_node_ is always HTMLPlugInElement
|
| }; |
| DEFINE_DOCUMENT_TYPE_CASTS(PluginDocument); |