Index: third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionTypedef.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionTypedef.cpp b/third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionTypedef.cpp |
index 2e23827399cc850471f28145f152febee775f8c9..29cf4ac0f19f2102d0d1e2702959632341e1ec73 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionTypedef.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionTypedef.cpp |
@@ -31,7 +31,7 @@ VoidCallbackFunctionTypedef* VoidCallbackFunctionTypedef::Create(ScriptState* sc |
} |
VoidCallbackFunctionTypedef::VoidCallbackFunctionTypedef(ScriptState* scriptState, v8::Local<v8::Function> callback) |
- : m_scriptState(scriptState), |
+ : script_state_(scriptState), |
m_callback(scriptState->GetIsolate(), this, callback) { |
DCHECK(!m_callback.IsEmpty()); |
} |
@@ -44,10 +44,10 @@ bool VoidCallbackFunctionTypedef::call(ScriptWrappable* scriptWrappable, const S |
if (m_callback.IsEmpty()) |
return false; |
- if (!m_scriptState->ContextIsValid()) |
+ if (!script_state_->ContextIsValid()) |
return false; |
- ExecutionContext* context = ExecutionContext::From(m_scriptState.Get()); |
+ ExecutionContext* context = ExecutionContext::From(script_state_.Get()); |
DCHECK(context); |
if (context->IsContextSuspended() || context->IsContextDestroyed()) |
return false; |
@@ -55,15 +55,15 @@ bool VoidCallbackFunctionTypedef::call(ScriptWrappable* scriptWrappable, const S |
// TODO(bashi): Make sure that using DummyExceptionStateForTesting is OK. |
// crbug.com/653769 |
DummyExceptionStateForTesting exceptionState; |
- ScriptState::Scope scope(m_scriptState.Get()); |
- v8::Isolate* isolate = m_scriptState->GetIsolate(); |
+ ScriptState::Scope scope(script_state_.Get()); |
+ v8::Isolate* isolate = script_state_->GetIsolate(); |
v8::Local<v8::Value> thisValue = ToV8( |
scriptWrappable, |
- m_scriptState->GetContext()->Global(), |
+ script_state_->GetContext()->Global(), |
isolate); |
- v8::Local<v8::Value> argArgument = V8String(m_scriptState->GetIsolate(), arg); |
+ v8::Local<v8::Value> argArgument = V8String(script_state_->GetIsolate(), arg); |
v8::Local<v8::Value> argv[] = { argArgument }; |
v8::TryCatch exceptionCatcher(isolate); |
exceptionCatcher.SetVerbose(true); |