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

Unified Diff: third_party/WebKit/Source/bindings/scripts/v8_callback_function.py

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
Index: third_party/WebKit/Source/bindings/scripts/v8_callback_function.py
diff --git a/third_party/WebKit/Source/bindings/scripts/v8_callback_function.py b/third_party/WebKit/Source/bindings/scripts/v8_callback_function.py
index dbc744183fa9bea4d1e856896c7885b643be28d6..cd3079dfadb942d390663aacb41fbbde7f46b922 100644
--- a/third_party/WebKit/Source/bindings/scripts/v8_callback_function.py
+++ b/third_party/WebKit/Source/bindings/scripts/v8_callback_function.py
@@ -57,7 +57,7 @@ def callback_function_context(callback_function):
'return_value': idl_type.v8_value_to_local_cpp_value(
callback_function.extended_attributes,
'v8ReturnValue', 'cppValue',
- isolate='m_scriptState->GetIsolate()',
+ isolate='script_state_->GetIsolate()',
bailout_return_value='false'),
})
@@ -70,8 +70,8 @@ def arguments_context(arguments, return_cpp_type):
return {
'argument_name': '%sArgument' % argument.name,
'cpp_value_to_v8_value': argument.idl_type.cpp_value_to_v8_value(
- argument.name, isolate='m_scriptState->GetIsolate()',
- creation_context='m_scriptState->GetContext()->Global()'),
+ argument.name, isolate='script_state_->GetIsolate()',
+ creation_context='script_state_->GetContext()->Global()'),
}
argument_declarations = [

Powered by Google App Engine
This is Rietveld 408576698