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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/StringSequenceCallbackFunctionLongSequenceArg.cpp

Issue 2858153004: Rename |m_callback| to |callback_| in IDL bindings. (Closed)
Patch Set: Created 3 years, 7 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: third_party/WebKit/Source/bindings/tests/results/core/StringSequenceCallbackFunctionLongSequenceArg.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/StringSequenceCallbackFunctionLongSequenceArg.cpp b/third_party/WebKit/Source/bindings/tests/results/core/StringSequenceCallbackFunctionLongSequenceArg.cpp
index a0bee1de46f803349d48a33005bf075378761cc7..26f2b93c1314fbc7f0f4b84c3992ebe623aeaa3e 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/StringSequenceCallbackFunctionLongSequenceArg.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/core/StringSequenceCallbackFunctionLongSequenceArg.cpp
@@ -32,16 +32,16 @@ StringSequenceCallbackFunctionLongSequenceArg* StringSequenceCallbackFunctionLon
StringSequenceCallbackFunctionLongSequenceArg::StringSequenceCallbackFunctionLongSequenceArg(ScriptState* scriptState, v8::Local<v8::Function> callback)
: script_state_(scriptState),
- m_callback(scriptState->GetIsolate(), this, callback) {
- DCHECK(!m_callback.IsEmpty());
+ callback_(scriptState->GetIsolate(), this, callback) {
+ DCHECK(!callback_.IsEmpty());
}
DEFINE_TRACE_WRAPPERS(StringSequenceCallbackFunctionLongSequenceArg) {
- visitor->TraceWrappers(m_callback.Cast<v8::Value>());
+ visitor->TraceWrappers(callback_.Cast<v8::Value>());
}
bool StringSequenceCallbackFunctionLongSequenceArg::call(ScriptWrappable* scriptWrappable, const Vector<int32_t>& arg, Vector<String>& returnValue) {
- if (m_callback.IsEmpty())
+ if (callback_.IsEmpty())
return false;
if (!script_state_->ContextIsValid())
@@ -69,7 +69,7 @@ bool StringSequenceCallbackFunctionLongSequenceArg::call(ScriptWrappable* script
exceptionCatcher.SetVerbose(true);
v8::Local<v8::Value> v8ReturnValue;
- if (!V8ScriptRunner::CallFunction(m_callback.NewLocal(isolate),
+ if (!V8ScriptRunner::CallFunction(callback_.NewLocal(isolate),
context,
thisValue,
1,

Powered by Google App Engine
This is Rietveld 408576698