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

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: 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/MediaDocument.cpp
diff --git a/Source/core/html/MediaDocument.cpp b/Source/core/html/MediaDocument.cpp
index c3a5511e02b0e11faae1565722cebe9dc7efcbf6..178ea6359d4506783d19b9a12cbe82b6aabe6904 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 DocumentInitializer& initializer)
+ : HTMLDocument(initializer, MediaDocumentClass)
{
setCompatibilityMode(QuirksMode);
lockCompatibilityMode();

Powered by Google App Engine
This is Rietveld 408576698