Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(731)

Unified Diff: Source/core/page/History.cpp

Issue 18548003: Rename ExceptionCode constants to use the names in the spec (2/3) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/page/EventSource.cpp ('k') | Source/core/page/Location.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « Source/core/page/EventSource.cpp ('k') | Source/core/page/Location.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698