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

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

Issue 18808004: Refactoring: Extract DocumentInit for capture Document construction parameter. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed webkit_unit_tests build failure. 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
« no previous file with comments | « Source/core/html/MediaDocument.h ('k') | Source/core/html/PluginDocument.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/MediaDocument.cpp
diff --git a/Source/core/html/MediaDocument.cpp b/Source/core/html/MediaDocument.cpp
index 98901ccdfc1d4d1d6b69957c62796fc2e44561f3..496ae2f265ff7b088d7a29c22c1c1c1463d0b935 100644
--- a/Source/core/html/MediaDocument.cpp
+++ b/Source/core/html/MediaDocument.cpp
@@ -117,8 +117,8 @@ size_t MediaDocumentParser::appendBytes(const char*, size_t)
return 0;
}
-MediaDocument::MediaDocument(Frame* frame, const KURL& url)
- : HTMLDocument(frame, url, MediaDocumentClass)
+MediaDocument::MediaDocument(const DocumentInit& initializer)
+ : HTMLDocument(initializer, MediaDocumentClass)
{
setCompatibilityMode(QuirksMode);
lockCompatibilityMode();
« no previous file with comments | « Source/core/html/MediaDocument.h ('k') | Source/core/html/PluginDocument.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698