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

Unified Diff: Source/bindings/v8/custom/V8JavaScriptCallFrameCustom.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/V8JavaScriptCallFrameCustom.cpp
diff --git a/Source/bindings/v8/custom/V8JavaScriptCallFrameCustom.cpp b/Source/bindings/v8/custom/V8JavaScriptCallFrameCustom.cpp
index 88ec3521b395e2b05b29bcbdea6118eb06ac2e9e..1ec37193d0464c510d263d6fbb16075c5bbcf5d8 100644
--- a/Source/bindings/v8/custom/V8JavaScriptCallFrameCustom.cpp
+++ b/Source/bindings/v8/custom/V8JavaScriptCallFrameCustom.cpp
@@ -35,26 +35,26 @@
namespace WebCore {
-void V8JavaScriptCallFrame::evaluateMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& args)
+void V8JavaScriptCallFrame::evaluateMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
{
- JavaScriptCallFrame* impl = V8JavaScriptCallFrame::toNative(args.Holder());
- String expression = toWebCoreStringWithUndefinedOrNullCheck(args[0]);
- v8SetReturnValue(args, impl->evaluate(expression));
+ JavaScriptCallFrame* impl = V8JavaScriptCallFrame::toNative(info.Holder());
+ String expression = toWebCoreStringWithUndefinedOrNullCheck(info[0]);
+ v8SetReturnValue(info, impl->evaluate(expression));
}
-void V8JavaScriptCallFrame::restartMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& args)
+void V8JavaScriptCallFrame::restartMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
{
- JavaScriptCallFrame* impl = V8JavaScriptCallFrame::toNative(args.Holder());
- v8SetReturnValue(args, impl->restart());
+ JavaScriptCallFrame* impl = V8JavaScriptCallFrame::toNative(info.Holder());
+ v8SetReturnValue(info, impl->restart());
}
-void V8JavaScriptCallFrame::setVariableValueMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& args)
+void V8JavaScriptCallFrame::setVariableValueMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
{
- JavaScriptCallFrame* impl = V8JavaScriptCallFrame::toNative(args.Holder());
- int scopeIndex = args[0]->Int32Value();
- String variableName = toWebCoreStringWithUndefinedOrNullCheck(args[1]);
- v8::Handle<v8::Value> newValue = args[2];
- v8SetReturnValue(args, impl->setVariableValue(scopeIndex, variableName, newValue));
+ JavaScriptCallFrame* impl = V8JavaScriptCallFrame::toNative(info.Holder());
+ int scopeIndex = info[0]->Int32Value();
+ String variableName = toWebCoreStringWithUndefinedOrNullCheck(info[1]);
+ v8::Handle<v8::Value> newValue = info[2];
+ v8SetReturnValue(info, impl->setVariableValue(scopeIndex, variableName, newValue));
}
void V8JavaScriptCallFrame::scopeChainAttributeGetterCustom(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
@@ -63,11 +63,11 @@ void V8JavaScriptCallFrame::scopeChainAttributeGetterCustom(v8::Local<v8::String
v8SetReturnValue(info, impl->scopeChain());
}
-void V8JavaScriptCallFrame::scopeTypeMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& args)
+void V8JavaScriptCallFrame::scopeTypeMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
{
- JavaScriptCallFrame* impl = V8JavaScriptCallFrame::toNative(args.Holder());
- int scopeIndex = args[0]->Int32Value();
- v8SetReturnValue(args, impl->scopeType(scopeIndex));
+ JavaScriptCallFrame* impl = V8JavaScriptCallFrame::toNative(info.Holder());
+ int scopeIndex = info[0]->Int32Value();
+ v8SetReturnValue(info, impl->scopeType(scopeIndex));
}
void V8JavaScriptCallFrame::thisObjectAttributeGetterCustom(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
« no previous file with comments | « Source/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp ('k') | Source/bindings/v8/custom/V8LocationCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698