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

Unified Diff: Source/bindings/tests/results/V8TestSpecialOperationsNotEnumerable.cpp

Issue 158663002: IDL compiler: sync Python to r166688 (and clean up special operations+union code) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Typo Created 6 years, 10 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
Index: Source/bindings/tests/results/V8TestSpecialOperationsNotEnumerable.cpp
diff --git a/Source/bindings/tests/results/V8TestSpecialOperationsNotEnumerable.cpp b/Source/bindings/tests/results/V8TestSpecialOperationsNotEnumerable.cpp
index aa96b412d26decaa9b3cb9261420adbc47724543..824d9f6540dab0f47f84c3a4d4894db3404ea769 100644
--- a/Source/bindings/tests/results/V8TestSpecialOperationsNotEnumerable.cpp
+++ b/Source/bindings/tests/results/V8TestSpecialOperationsNotEnumerable.cpp
@@ -73,11 +73,11 @@ template <typename T> void V8_USE(T) { }
static void indexedPropertyGetter(uint32_t index, const v8::PropertyCallbackInfo<v8::Value>& info)
{
- TestSpecialOperationsNotEnumerable* collection = V8TestSpecialOperationsNotEnumerable::toNative(info.Holder());
- String element = collection->anonymousIndexedGetter(index);
- if (element.isNull())
+ TestSpecialOperationsNotEnumerable* imp = V8TestSpecialOperationsNotEnumerable::toNative(info.Holder());
+ String result = imp->anonymousIndexedGetter(index);
+ if (result.isNull())
return;
- v8SetReturnValueString(info, element, info.GetIsolate());
+ v8SetReturnValueString(info, result, info.GetIsolate());
}
static void indexedPropertyGetterCallback(uint32_t index, const v8::PropertyCallbackInfo<v8::Value>& info)
@@ -96,12 +96,12 @@ static void namedPropertyGetter(v8::Local<v8::String> name, const v8::PropertyCa
if (info.Holder()->HasRealNamedProperty(name))
return;
- TestSpecialOperationsNotEnumerable* collection = V8TestSpecialOperationsNotEnumerable::toNative(info.Holder());
+ TestSpecialOperationsNotEnumerable* imp = V8TestSpecialOperationsNotEnumerable::toNative(info.Holder());
AtomicString propertyName = toCoreAtomicString(name);
- String element = collection->anonymousNamedGetter(propertyName);
- if (element.isNull())
+ String result = imp->anonymousNamedGetter(propertyName);
+ if (result.isNull())
return;
- v8SetReturnValueString(info, element, info.GetIsolate());
+ v8SetReturnValueString(info, result, info.GetIsolate());
}
static void namedPropertyGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)

Powered by Google App Engine
This is Rietveld 408576698