Index: Source/core/html/PluginDocument.h |
diff --git a/Source/core/html/PluginDocument.h b/Source/core/html/PluginDocument.h |
index bd74d2cdf23bc7fe0836a5149794b179501c122b..9ae4b98d397b9ab53890e1af8144aec2ca4c52bb 100644 |
--- a/Source/core/html/PluginDocument.h |
+++ b/Source/core/html/PluginDocument.h |
@@ -34,9 +34,9 @@ class Widget; |
class PluginDocument FINAL : public HTMLDocument { |
public: |
- static PassRefPtr<PluginDocument> create(Frame* frame, const KURL& url) |
+ static PassRefPtr<PluginDocument> create(const DocumentInitializer& initializer = DocumentInitializer()) |
{ |
- return adoptRef(new PluginDocument(frame, url)); |
+ return adoptRef(new PluginDocument(initializer)); |
} |
void setPluginNode(Node* pluginNode) { m_pluginNode = pluginNode; } |
@@ -51,7 +51,7 @@ public: |
bool shouldLoadPluginManually() { return m_shouldLoadPluginManually; } |
private: |
- PluginDocument(Frame*, const KURL&); |
+ PluginDocument(const DocumentInitializer&); |
virtual PassRefPtr<DocumentParser> createParser() OVERRIDE; |