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

Unified Diff: Source/core/html/PluginDocument.cpp

Issue 18808004: Refactoring: Extract DocumentInit for capture Document construction parameter. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated to ToT Created 7 years, 5 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: Source/core/html/PluginDocument.cpp
diff --git a/Source/core/html/PluginDocument.cpp b/Source/core/html/PluginDocument.cpp
index b4f129cb8f6e185fa97a95da8d5300a3a5a95dd8..f8bc8297afdcef852b6e477dd4555eb1162083cf 100644
--- a/Source/core/html/PluginDocument.cpp
+++ b/Source/core/html/PluginDocument.cpp
@@ -156,8 +156,8 @@ PluginView* PluginDocumentParser::pluginView() const
return 0;
}
-PluginDocument::PluginDocument(Frame* frame, const KURL& url)
- : HTMLDocument(frame, url, PluginDocumentClass)
+PluginDocument::PluginDocument(const DocumentInitializer& initializer)
+ : HTMLDocument(initializer, PluginDocumentClass)
, m_shouldLoadPluginManually(true)
{
setCompatibilityMode(QuirksMode);

Powered by Google App Engine
This is Rietveld 408576698