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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.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
« no previous file with comments | « third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.cpp b/third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.cpp
index 79eba5d07adbf33bd942a8982374dbd4d4767be9..73202cf59e18a1f1b45e1491496a52aeb09d4eef 100644
--- a/third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.cpp
@@ -30,16 +30,16 @@ VoidCallbackFunctionModules* VoidCallbackFunctionModules::Create(ScriptState* sc
VoidCallbackFunctionModules::VoidCallbackFunctionModules(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(VoidCallbackFunctionModules) {
- visitor->TraceWrappers(m_callback.Cast<v8::Value>());
+ visitor->TraceWrappers(callback_.Cast<v8::Value>());
}
bool VoidCallbackFunctionModules::call(ScriptWrappable* scriptWrappable) {
- if (m_callback.IsEmpty())
+ if (callback_.IsEmpty())
return false;
if (!script_state_->ContextIsValid())
@@ -66,7 +66,7 @@ bool VoidCallbackFunctionModules::call(ScriptWrappable* scriptWrappable) {
exceptionCatcher.SetVerbose(true);
v8::Local<v8::Value> v8ReturnValue;
- if (!V8ScriptRunner::CallFunction(m_callback.NewLocal(isolate),
+ if (!V8ScriptRunner::CallFunction(callback_.NewLocal(isolate),
context,
thisValue,
0,
« no previous file with comments | « third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698