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

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

Issue 54283002: Rename |args| to |info| in V8 bindings (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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/V8HTMLFormControlsCollectionCustom.cpp
diff --git a/Source/bindings/v8/custom/V8HTMLFormControlsCollectionCustom.cpp b/Source/bindings/v8/custom/V8HTMLFormControlsCollectionCustom.cpp
index 3c6d796ce9078ec4dda255602c7b53618b1137f0..6572a432ec37c2d66341867a81e1a2966c9bb7ba 100644
--- a/Source/bindings/v8/custom/V8HTMLFormControlsCollectionCustom.cpp
+++ b/Source/bindings/v8/custom/V8HTMLFormControlsCollectionCustom.cpp
@@ -54,18 +54,18 @@ static v8::Handle<v8::Value> getNamedItems(HTMLFormControlsCollection* collectio
return toV8(collection->ownerNode()->radioNodeList(name).get(), callbackInfo.Holder(), callbackInfo.GetIsolate());
}
-void V8HTMLFormControlsCollection::namedItemMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& args)
+void V8HTMLFormControlsCollection::namedItemMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
{
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, name, args[0]);
- HTMLFormControlsCollection* imp = V8HTMLFormControlsCollection::toNative(args.Holder());
- v8::Handle<v8::Value> result = getNamedItems(imp, name, args);
+ V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, name, info[0]);
+ HTMLFormControlsCollection* imp = V8HTMLFormControlsCollection::toNative(info.Holder());
+ v8::Handle<v8::Value> result = getNamedItems(imp, name, info);
if (result.IsEmpty()) {
- v8SetReturnValueNull(args);
+ v8SetReturnValueNull(info);
return;
}
- v8SetReturnValue(args, result);
+ v8SetReturnValue(info, result);
}
} // namespace WebCore
« no previous file with comments | « Source/bindings/v8/custom/V8HTMLDocumentCustom.cpp ('k') | Source/bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698