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

Unified Diff: Source/core/xml/DOMParser.cpp

Issue 72363002: Rename es => exceptionState in other than bindings/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Retry 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/workers/WorkerGlobalScope.cpp ('k') | Source/core/xml/DocumentXPathEvaluator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/DOMParser.cpp
diff --git a/Source/core/xml/DOMParser.cpp b/Source/core/xml/DOMParser.cpp
index 29a37da443b3d171f6b20c38ceecac077c9f6e62..bc509de4ca5fb43a2cc257791af1742a7795ee2a 100644
--- a/Source/core/xml/DOMParser.cpp
+++ b/Source/core/xml/DOMParser.cpp
@@ -25,7 +25,7 @@
namespace WebCore {
-PassRefPtr<Document> DOMParser::parseFromString(const String& str, const String& contentType, ExceptionState& es)
+PassRefPtr<Document> DOMParser::parseFromString(const String& str, const String& contentType, ExceptionState& exceptionState)
{
// HTML5 is very explicit about which types we're allowed to support here:
// http://domparsing.spec.whatwg.org/#the-domparser-interface
@@ -34,7 +34,7 @@ PassRefPtr<Document> DOMParser::parseFromString(const String& str, const String&
&& contentType != "application/xml"
&& contentType != "application/xhtml+xml"
&& contentType != "image/svg+xml") {
- es.throwDOMException(TypeError, "Unsupported mime-type specified.");
+ exceptionState.throwDOMException(TypeError, "Unsupported mime-type specified.");
return 0;
}
« no previous file with comments | « Source/core/workers/WorkerGlobalScope.cpp ('k') | Source/core/xml/DocumentXPathEvaluator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698