| Index: third_party/WebKit/Source/core/dom/Document.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
|
| index e7dd89662dd23e93746204a5a1ad52d3ddb41a5e..39412f876090f6532a22f9558f6e38b5b1fe502c 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -5083,12 +5083,7 @@ bool Document::ParseQualifiedName(const AtomicString& qualified_name,
|
| message.Append("has an empty local name.");
|
| }
|
|
|
| - if (return_value.status == kQNInvalidStartChar ||
|
| - return_value.status == kQNInvalidChar)
|
| - exception_state.ThrowDOMException(kInvalidCharacterError,
|
| - message.ToString());
|
| - else
|
| - exception_state.ThrowDOMException(kNamespaceError, message.ToString());
|
| + exception_state.ThrowDOMException(kInvalidCharacterError, message.ToString());
|
| return false;
|
| }
|
|
|
|
|