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

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

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.h
diff --git a/Source/core/html/MediaDocument.h b/Source/core/html/MediaDocument.h
index afba636c8925072b3da1fc6a1287f3ef232bd91a..a81b42abcf0bb7a85b587187f10708f10eb6a43d 100644
--- a/Source/core/html/MediaDocument.h
+++ b/Source/core/html/MediaDocument.h
@@ -32,13 +32,13 @@ namespace WebCore {
class MediaDocument FINAL : public HTMLDocument {
public:
- static PassRefPtr<MediaDocument> create(Frame* frame, const KURL& url)
+ static PassRefPtr<MediaDocument> create(const DocumentInitializer& initializer = DocumentInitializer())
{
- return adoptRef(new MediaDocument(frame, url));
+ return adoptRef(new MediaDocument(initializer));
}
private:
- MediaDocument(Frame*, const KURL&);
+ MediaDocument(const DocumentInitializer&);
virtual PassRefPtr<DocumentParser> createParser() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698