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

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

Issue 202203009: Rename |imp| => |impl| in bindings generation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: custom/v8 too Created 6 years, 9 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/v8/custom/V8HTMLAllCollectionCustom.cpp
diff --git a/Source/bindings/v8/custom/V8HTMLAllCollectionCustom.cpp b/Source/bindings/v8/custom/V8HTMLAllCollectionCustom.cpp
index 9d73a3f573b48f0a8a54c61b68bbb88c856e81fb..4db5f1ba6a09732fbeeb3f4647353b00477b5fd7 100644
--- a/Source/bindings/v8/custom/V8HTMLAllCollectionCustom.cpp
+++ b/Source/bindings/v8/custom/V8HTMLAllCollectionCustom.cpp
@@ -77,8 +77,8 @@ static v8::Handle<v8::Value> getItem(HTMLAllCollection* collection, v8::Handle<v
void V8HTMLAllCollection::itemMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
{
- HTMLAllCollection* imp = V8HTMLAllCollection::toNative(info.Holder());
- v8SetReturnValue(info, getItem(imp, info[0], info));
+ HTMLAllCollection* impl = V8HTMLAllCollection::toNative(info.Holder());
+ v8SetReturnValue(info, getItem(impl, info[0], info));
}
void V8HTMLAllCollection::legacyCallCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
@@ -86,13 +86,13 @@ void V8HTMLAllCollection::legacyCallCustom(const v8::FunctionCallbackInfo<v8::Va
if (info.Length() < 1)
return;
- HTMLAllCollection* imp = V8HTMLAllCollection::toNative(info.Holder());
- Node& ownerNode = imp->ownerNode();
+ HTMLAllCollection* impl = V8HTMLAllCollection::toNative(info.Holder());
+ Node& ownerNode = impl->ownerNode();
UseCounter::count(ownerNode.document(), UseCounter::DocumentAllLegacyCall);
if (info.Length() == 1) {
- v8SetReturnValue(info, getItem(imp, info[0], info));
+ v8SetReturnValue(info, getItem(impl, info[0], info));
return;
}
@@ -102,8 +102,8 @@ void V8HTMLAllCollection::legacyCallCustom(const v8::FunctionCallbackInfo<v8::Va
if (index.IsEmpty())
return;
- if (Node* node = imp->namedItemWithIndex(name, index->Uint32Value())) {
- v8SetReturnValueFast(info, node, imp);
+ if (Node* node = impl->namedItemWithIndex(name, index->Uint32Value())) {
+ v8SetReturnValueFast(info, node, impl);
return;
}
}
« no previous file with comments | « Source/bindings/v8/custom/V8FileReaderCustom.cpp ('k') | Source/bindings/v8/custom/V8HTMLCanvasElementCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698