| Index: Source/core/frame/Location.cpp
|
| diff --git a/Source/core/frame/Location.cpp b/Source/core/frame/Location.cpp
|
| index 9a8195a60d04ab2ff86b9bc0b16380ae3b2da2e3..e38b2fde82e6b82bfb19f913ce03355271e222cd 100644
|
| --- a/Source/core/frame/Location.cpp
|
| +++ b/Source/core/frame/Location.cpp
|
| @@ -29,7 +29,6 @@
|
| #include "config.h"
|
| #include "core/frame/Location.h"
|
|
|
| -#include "bindings/v8/ExceptionMessages.h"
|
| #include "bindings/v8/ExceptionState.h"
|
| #include "core/dom/DOMURLUtilsReadOnly.h"
|
| #include "core/dom/Document.h"
|
| @@ -147,7 +146,7 @@ void Location::setProtocol(DOMWindow* activeWindow, DOMWindow* firstWindow, cons
|
| return;
|
| KURL url = m_frame->document()->url();
|
| if (!url.setProtocol(protocol)) {
|
| - exceptionState.throwDOMException(SyntaxError, ExceptionMessages::failedToSet("protocol", "Location", "'" + protocol + "' is an invalid protocol."));
|
| + exceptionState.throwDOMException(SyntaxError, "'" + protocol + "' is an invalid protocol.");
|
| return;
|
| }
|
| setLocation(url.string(), activeWindow, firstWindow);
|
|
|