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

Unified Diff: Source/bindings/v8/custom/V8HistoryCustom.cpp

Issue 68893018: Rename es => exceptionState in bindings/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
Index: Source/bindings/v8/custom/V8HistoryCustom.cpp
diff --git a/Source/bindings/v8/custom/V8HistoryCustom.cpp b/Source/bindings/v8/custom/V8HistoryCustom.cpp
index edc5c001ac583db51247f3076e00351abb188261..bbf6b2b5ec5d5c4e420f38a80b1c3321808c6ff9 100644
--- a/Source/bindings/v8/custom/V8HistoryCustom.cpp
+++ b/Source/bindings/v8/custom/V8HistoryCustom.cpp
@@ -69,11 +69,11 @@ void V8History::pushStateMethodCustom(const v8::FunctionCallbackInfo<v8::Value>&
V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithUndefinedOrNullCheck>, title, info[1]);
V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithUndefinedOrNullCheck>, url, argumentOrNull(info, 2));
- ExceptionState es(info.GetIsolate());
+ ExceptionState exceptionState(info.GetIsolate());
History* history = V8History::toNative(info.Holder());
- history->stateObjectAdded(historyState.release(), title, url, SameDocumentNavigationPushState, es);
+ history->stateObjectAdded(historyState.release(), title, url, SameDocumentNavigationPushState, exceptionState);
info.Holder()->DeleteHiddenValue(V8HiddenPropertyName::state(info.GetIsolate()));
- es.throwIfNeeded();
+ exceptionState.throwIfNeeded();
}
void V8History::replaceStateMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
@@ -86,11 +86,11 @@ void V8History::replaceStateMethodCustom(const v8::FunctionCallbackInfo<v8::Valu
V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithUndefinedOrNullCheck>, title, info[1]);
V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithUndefinedOrNullCheck>, url, argumentOrNull(info, 2));
- ExceptionState es(info.GetIsolate());
+ ExceptionState exceptionState(info.GetIsolate());
History* history = V8History::toNative(info.Holder());
- history->stateObjectAdded(historyState.release(), title, url, SameDocumentNavigationReplaceState, es);
+ history->stateObjectAdded(historyState.release(), title, url, SameDocumentNavigationReplaceState, exceptionState);
info.Holder()->DeleteHiddenValue(V8HiddenPropertyName::state(info.GetIsolate()));
- es.throwIfNeeded();
+ exceptionState.throwIfNeeded();
}
} // namespace WebCore
« no previous file with comments | « Source/bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp ('k') | Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698