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

Unified Diff: third_party/WebKit/Source/platform/bindings/ScriptState.h

Issue 2857853007: Rename |m_scriptState| to |script_state_| in IDL bindings. (Closed)
Patch Set: Created 3 years, 8 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.cpp ('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/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
« no previous file with comments | « third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698