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

Unified Diff: Source/bindings/tests/results/V8TestEventTarget.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/tests/results/V8TestEventTarget.cpp
diff --git a/Source/bindings/tests/results/V8TestEventTarget.cpp b/Source/bindings/tests/results/V8TestEventTarget.cpp
index b60c1bd64f740bab31bc54f6ad3a7cf3c3522542..4ab90c333a32c352fd6b7b5814cf2b6078841593 100644
--- a/Source/bindings/tests/results/V8TestEventTarget.cpp
+++ b/Source/bindings/tests/results/V8TestEventTarget.cpp
@@ -150,9 +150,9 @@ static void indexedPropertySetterCallback(uint32_t index, v8::Local<v8::Value> j
static void indexedPropertyDeleter(unsigned index, const v8::PropertyCallbackInfo<v8::Boolean>& info)
{
TestEventTarget* collection = V8TestEventTarget::toNative(info.Holder());
- ExceptionState es(info.GetIsolate());
- bool result = collection->anonymousIndexedDeleter(index, es);
- if (es.throwIfNeeded())
+ ExceptionState exceptionState(info.GetIsolate());
+ bool result = collection->anonymousIndexedDeleter(index, exceptionState);
+ if (exceptionState.throwIfNeeded())
return;
return v8SetReturnValueBool(info, result);
}
@@ -234,11 +234,11 @@ static void namedPropertyDeleterCallback(v8::Local<v8::String> name, const v8::P
static void namedPropertyEnumerator(const v8::PropertyCallbackInfo<v8::Array>& info)
{
- ExceptionState es(info.GetIsolate());
+ ExceptionState exceptionState(info.GetIsolate());
TestEventTarget* collection = V8TestEventTarget::toNative(info.Holder());
Vector<String> names;
- collection->namedPropertyEnumerator(names, es);
- if (es.throwIfNeeded())
+ collection->namedPropertyEnumerator(names, exceptionState);
+ if (exceptionState.throwIfNeeded())
return;
v8::Handle<v8::Array> v8names = v8::Array::New(names.size());
for (size_t i = 0; i < names.size(); ++i)
@@ -250,9 +250,9 @@ static void namedPropertyQuery(v8::Local<v8::String> name, const v8::PropertyCal
{
TestEventTarget* collection = V8TestEventTarget::toNative(info.Holder());
AtomicString propertyName = toWebCoreAtomicString(name);
- ExceptionState es(info.GetIsolate());
- bool result = collection->namedPropertyQuery(propertyName, es);
- if (es.throwIfNeeded())
+ ExceptionState exceptionState(info.GetIsolate());
+ bool result = collection->namedPropertyQuery(propertyName, exceptionState);
+ if (exceptionState.throwIfNeeded())
return;
if (!result)
return;
« no previous file with comments | « Source/bindings/tests/results/V8TestActiveDOMObject.cpp ('k') | Source/bindings/tests/results/V8TestInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698