| Index: Source/core/frame/Location.cpp
|
| diff --git a/Source/core/frame/Location.cpp b/Source/core/frame/Location.cpp
|
| index bfef1a4eb075eac9b6a27326cc5027f5e77f2e5c..9a8195a60d04ab2ff86b9bc0b16380ae3b2da2e3 100644
|
| --- a/Source/core/frame/Location.cpp
|
| +++ b/Source/core/frame/Location.cpp
|
| @@ -141,13 +141,13 @@ void Location::setHref(DOMWindow* activeWindow, DOMWindow* firstWindow, const St
|
| setLocation(url, activeWindow, firstWindow);
|
| }
|
|
|
| -void Location::setProtocol(DOMWindow* activeWindow, DOMWindow* firstWindow, const String& protocol, ExceptionState& es)
|
| +void Location::setProtocol(DOMWindow* activeWindow, DOMWindow* firstWindow, const String& protocol, ExceptionState& exceptionState)
|
| {
|
| if (!m_frame)
|
| return;
|
| KURL url = m_frame->document()->url();
|
| if (!url.setProtocol(protocol)) {
|
| - es.throwDOMException(SyntaxError, ExceptionMessages::failedToSet("protocol", "Location", "'" + protocol + "' is an invalid protocol."));
|
| + exceptionState.throwDOMException(SyntaxError, ExceptionMessages::failedToSet("protocol", "Location", "'" + protocol + "' is an invalid protocol."));
|
| return;
|
| }
|
| setLocation(url.string(), activeWindow, firstWindow);
|
|
|