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

Unified Diff: Source/core/html/ImageDocument.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/HTMLTrackElement.cpp ('k') | Source/core/html/InputType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/ImageDocument.cpp
diff --git a/Source/core/html/ImageDocument.cpp b/Source/core/html/ImageDocument.cpp
index d03b9459435dffd75425f3270616f1a99d20ae9d..6839e1e18292529e2c27ad430192670d52555dcc 100644
--- a/Source/core/html/ImageDocument.cpp
+++ b/Source/core/html/ImageDocument.cpp
@@ -167,7 +167,7 @@ PassRefPtr<DocumentParser> ImageDocument::createParser()
void ImageDocument::createDocumentStructure()
{
RefPtr<HTMLHtmlElement> rootElement = HTMLHtmlElement::create(this);
- appendChild(rootElement, ASSERT_NO_EXCEPTION_STATE, AttachLazily);
+ appendChild(rootElement, ASSERT_NO_EXCEPTION, AttachLazily);
rootElement->insertedByParser();
if (frame() && frame()->loader())
@@ -177,7 +177,7 @@ void ImageDocument::createDocumentStructure()
RefPtr<HTMLMetaElement> meta = HTMLMetaElement::create(this);
meta->setAttribute(nameAttr, "viewport");
meta->setAttribute(contentAttr, "width=device-width");
- head->appendChild(meta, ASSERT_NO_EXCEPTION_STATE, AttachLazily);
+ head->appendChild(meta, ASSERT_NO_EXCEPTION, AttachLazily);
RefPtr<HTMLBodyElement> body = HTMLBodyElement::create(this);
body->setAttribute(styleAttr, "margin: 0px;");
@@ -186,7 +186,7 @@ void ImageDocument::createDocumentStructure()
m_imageElement->setAttribute(styleAttr, "-webkit-user-select: none");
m_imageElement->setLoadManually(true);
m_imageElement->setSrc(url().string());
- body->appendChild(m_imageElement.get(), ASSERT_NO_EXCEPTION_STATE, AttachLazily);
+ body->appendChild(m_imageElement.get(), ASSERT_NO_EXCEPTION, AttachLazily);
if (shouldShrinkToFit()) {
// Add event listeners
@@ -196,8 +196,8 @@ void ImageDocument::createDocumentStructure()
m_imageElement->addEventListener("click", listener.release(), false);
}
- rootElement->appendChild(head, ASSERT_NO_EXCEPTION_STATE, AttachLazily);
- rootElement->appendChild(body, ASSERT_NO_EXCEPTION_STATE, AttachLazily);
+ rootElement->appendChild(head, ASSERT_NO_EXCEPTION, AttachLazily);
+ rootElement->appendChild(body, ASSERT_NO_EXCEPTION, AttachLazily);
}
float ImageDocument::scale() const
« no previous file with comments | « Source/core/html/HTMLTrackElement.cpp ('k') | Source/core/html/InputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698