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

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

Issue 22880029: Make AttachBehavior a required argument. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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/HTMLTitleElement.cpp ('k') | Source/core/html/RangeInputType.cpp » ('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 a7bc4f86f4b5235ca571e6b78babc324f2d6865a..858741cbd9a41bc82c0ab2c675c8a09c7a6253d1 100644
--- a/Source/core/html/MediaDocument.cpp
+++ b/Source/core/html/MediaDocument.cpp
@@ -99,7 +99,7 @@ void MediaDocumentParser::createDocumentStructure()
media->appendChild(source.release(), ASSERT_NO_EXCEPTION, AttachLazily);
RefPtr<HTMLBodyElement> body = HTMLBodyElement::create(document());
- body->appendChild(media.release(), ASSERT_NO_EXCEPTION);
+ body->appendChild(media.release(), ASSERT_NO_EXCEPTION, DeprecatedAttachNow);
rootElement->appendChild(head.release(), ASSERT_NO_EXCEPTION, AttachLazily);
rootElement->appendChild(body.release(), ASSERT_NO_EXCEPTION, AttachLazily);
« no previous file with comments | « Source/core/html/HTMLTitleElement.cpp ('k') | Source/core/html/RangeInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698