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

Unified Diff: Source/core/xml/parser/XMLDocumentParser.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/xml/XMLTreeViewer.cpp ('k') | Source/modules/indexeddb/IDBDatabase.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/parser/XMLDocumentParser.cpp
diff --git a/Source/core/xml/parser/XMLDocumentParser.cpp b/Source/core/xml/parser/XMLDocumentParser.cpp
index 5c0baa7b78a82568cb424f6bfdae8a679a3d41fe..5f568c728346815f3f7e9dc04a46305c50755d58 100644
--- a/Source/core/xml/parser/XMLDocumentParser.cpp
+++ b/Source/core/xml/parser/XMLDocumentParser.cpp
@@ -1017,7 +1017,7 @@ void XMLDocumentParser::endElementNs()
if (!scriptingContentIsAllowed(parserContentPolicy()) && n->isElementNode() && toScriptLoaderIfPossible(toElement(n.get()))) {
popCurrentNode();
- n->remove(IGNORE_EXCEPTION_STATE);
+ n->remove(IGNORE_EXCEPTION);
return;
}
@@ -1200,9 +1200,9 @@ void XMLDocumentParser::startDocument(const String& version, const String& encod
}
if (!version.isNull())
- document()->setXMLVersion(version, ASSERT_NO_EXCEPTION_STATE);
+ document()->setXMLVersion(version, ASSERT_NO_EXCEPTION);
if (standalone != StandaloneUnspecified)
- document()->setXMLStandalone(standaloneInfo == StandaloneYes, ASSERT_NO_EXCEPTION_STATE);
+ document()->setXMLStandalone(standaloneInfo == StandaloneYes, ASSERT_NO_EXCEPTION);
if (!encoding.isNull())
document()->setXMLEncoding(encoding);
document()->setHasXMLDeclaration(true);
« no previous file with comments | « Source/core/xml/XMLTreeViewer.cpp ('k') | Source/modules/indexeddb/IDBDatabase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698