Index: third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunction.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunction.cpp b/third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunction.cpp |
index b36aeaf3acb11f62aa901c579a9e341980601ba6..bac9047c646773e59ee8545d01a4a17b4fd146a7 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunction.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunction.cpp |
@@ -29,7 +29,7 @@ VoidCallbackFunction* VoidCallbackFunction::Create(ScriptState* scriptState, v8: |
} |
VoidCallbackFunction::VoidCallbackFunction(ScriptState* scriptState, v8::Local<v8::Function> callback) |
- : m_scriptState(scriptState), |
+ : script_state_(scriptState), |
m_callback(scriptState->GetIsolate(), this, callback) { |
DCHECK(!m_callback.IsEmpty()); |
} |
@@ -42,10 +42,10 @@ bool VoidCallbackFunction::call(ScriptWrappable* scriptWrappable) { |
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; |
@@ -53,12 +53,12 @@ bool VoidCallbackFunction::call(ScriptWrappable* scriptWrappable) { |
// 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> *argv = nullptr; |