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

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

Issue 22417002: Rename ASSERT_NO_EXCEPTION_STATE and IGNORE_EXCEPTION_STATE (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/MediaController.cpp ('k') | Source/core/html/PluginDocument.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 bb4a1a1a32271536862d3cec5101a456992769f6..fe775338ca62ebee34c7adadf1727219218626fc 100644
--- a/Source/core/html/MediaDocument.cpp
+++ b/Source/core/html/MediaDocument.cpp
@@ -82,7 +82,7 @@ void MediaDocumentParser::createDocumentStructure()
RefPtr<HTMLMetaElement> meta = HTMLMetaElement::create(document());
meta->setAttribute(nameAttr, "viewport");
meta->setAttribute(contentAttr, "width=device-width");
- head->appendChild(meta.release(), ASSERT_NO_EXCEPTION_STATE);
+ head->appendChild(meta.release(), ASSERT_NO_EXCEPTION);
RefPtr<HTMLVideoElement> media = HTMLVideoElement::create(document());
media->setAttribute(controlsAttr, "");
@@ -95,15 +95,15 @@ void MediaDocumentParser::createDocumentStructure()
if (DocumentLoader* loader = document()->loader())
source->setType(loader->responseMIMEType());
- media->appendChild(source.release(), ASSERT_NO_EXCEPTION_STATE);
+ media->appendChild(source.release(), ASSERT_NO_EXCEPTION);
RefPtr<HTMLBodyElement> body = HTMLBodyElement::create(document());
- body->appendChild(media.release(), ASSERT_NO_EXCEPTION_STATE);
+ body->appendChild(media.release(), ASSERT_NO_EXCEPTION);
- rootElement->appendChild(head.release(), ASSERT_NO_EXCEPTION_STATE);
- rootElement->appendChild(body.release(), ASSERT_NO_EXCEPTION_STATE);
+ rootElement->appendChild(head.release(), ASSERT_NO_EXCEPTION);
+ rootElement->appendChild(body.release(), ASSERT_NO_EXCEPTION);
- document()->appendChild(rootElement.release(), ASSERT_NO_EXCEPTION_STATE, AttachLazily);
+ document()->appendChild(rootElement.release(), ASSERT_NO_EXCEPTION, AttachLazily);
m_didBuildDocumentStructure = true;
}
« no previous file with comments | « Source/core/html/MediaController.cpp ('k') | Source/core/html/PluginDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698