| Index: third_party/WebKit/Source/platform/bindings/ScriptState.h
|
| diff --git a/third_party/WebKit/Source/platform/bindings/ScriptState.h b/third_party/WebKit/Source/platform/bindings/ScriptState.h
|
| index 0d76acb1ee7cb0e4eb95fd45dd020151b1eeff2d..ff299149fb0eab2e787b501d99766c237a84494e 100644
|
| --- a/third_party/WebKit/Source/platform/bindings/ScriptState.h
|
| +++ b/third_party/WebKit/Source/platform/bindings/ScriptState.h
|
| @@ -34,21 +34,21 @@ class ScriptValue;
|
| //
|
| // class SomeObject {
|
| // void someMethod(ScriptState* scriptState) {
|
| -// m_scriptState = scriptState; // Record the ScriptState.
|
| +// script_state_ = scriptState; // Record the ScriptState.
|
| // ...;
|
| // }
|
| //
|
| // void asynchronousMethod() {
|
| -// if (!m_scriptState->contextIsValid()) {
|
| +// if (!script_state_->contextIsValid()) {
|
| // // It's possible that the context is already gone.
|
| // return;
|
| // }
|
| // // Enter the ScriptState.
|
| -// ScriptState::Scope scope(m_scriptState.get());
|
| +// ScriptState::Scope scope(script_state_.get());
|
| // // Do V8 related things.
|
| // ToV8(...);
|
| // }
|
| -// RefPtr<ScriptState> m_scriptState;
|
| +// RefPtr<ScriptState> script_state_;
|
| // };
|
| //
|
| // You should not store ScriptState on a C++ object that can be accessed
|
|
|