| 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;
|
| }
|
|
|
|
|