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

Unified Diff: Source/core/dom/DOMImplementation.cpp

Issue 64113006: Rename es => exceptionState in core/dom (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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/dom/ContainerNode.cpp ('k') | Source/core/dom/DOMSettableTokenList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DOMImplementation.cpp
diff --git a/Source/core/dom/DOMImplementation.cpp b/Source/core/dom/DOMImplementation.cpp
index 697663f4b06d7cc41cbe1337b6d6ba049e73e7b1..61cc4378278444cdb2b07fcb64f86cf3213b3cc3 100644
--- a/Source/core/dom/DOMImplementation.cpp
+++ b/Source/core/dom/DOMImplementation.cpp
@@ -179,10 +179,10 @@ bool DOMImplementation::hasFeature(const String& feature, const String& version)
}
PassRefPtr<DocumentType> DOMImplementation::createDocumentType(const String& qualifiedName,
- const String& publicId, const String& systemId, ExceptionState& es)
+ const String& publicId, const String& systemId, ExceptionState& exceptionState)
{
String prefix, localName;
- if (!Document::parseQualifiedName(qualifiedName, prefix, localName, es))
+ if (!Document::parseQualifiedName(qualifiedName, prefix, localName, exceptionState))
return 0;
return DocumentType::create(m_document, qualifiedName, publicId, systemId);
@@ -194,7 +194,7 @@ DOMImplementation* DOMImplementation::getInterface(const String& /*feature*/)
}
PassRefPtr<Document> DOMImplementation::createDocument(const String& namespaceURI,
- const String& qualifiedName, DocumentType* doctype, ExceptionState& es)
+ const String& qualifiedName, DocumentType* doctype, ExceptionState& exceptionState)
{
RefPtr<Document> doc;
DocumentInit init = DocumentInit::fromContext(m_document->contextDocument());
@@ -211,8 +211,8 @@ PassRefPtr<Document> DOMImplementation::createDocument(const String& namespaceUR
RefPtr<Node> documentElement;
if (!qualifiedName.isEmpty()) {
- documentElement = doc->createElementNS(namespaceURI, qualifiedName, es);
- if (es.hadException())
+ documentElement = doc->createElementNS(namespaceURI, qualifiedName, exceptionState);
+ if (exceptionState.hadException())
return 0;
}
« no previous file with comments | « Source/core/dom/ContainerNode.cpp ('k') | Source/core/dom/DOMSettableTokenList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698