| Index: Source/core/page/History.cpp
|
| diff --git a/Source/core/page/History.cpp b/Source/core/page/History.cpp
|
| index 6f9cf92235f955ec7b502a33ec1f81726e357f7b..e7a6ccf7bee87a53c9298d1fb80ef1e6fb58bd52 100644
|
| --- a/Source/core/page/History.cpp
|
| +++ b/Source/core/page/History.cpp
|
| @@ -144,7 +144,7 @@ void History::stateObjectAdded(PassRefPtr<SerializedScriptValue> data, const Str
|
|
|
| KURL fullURL = urlForState(urlString);
|
| if (!fullURL.isValid() || !m_frame->document()->securityOrigin()->canRequest(fullURL)) {
|
| - ec = SECURITY_ERR;
|
| + ec = SecurityError;
|
| return;
|
| }
|
|
|
|
|