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

Unified Diff: third_party/WebKit/Source/bindings/templates/utilities.cpp.tmpl

Issue 2329463004: ABANDONED CL: Changes needed to make things compile after running rewrite_to_chrome_style tool. (Closed)
Patch Set: More fixes - things build fine at this point. 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/templates/utilities.cpp.tmpl
diff --git a/third_party/WebKit/Source/bindings/templates/utilities.cpp.tmpl b/third_party/WebKit/Source/bindings/templates/utilities.cpp.tmpl
index 1e23d92f1a19fa983de3dc5e9cd27de365bf741c..5040010b78ed8894b20fa9219ae5213f6d4343fb 100644
--- a/third_party/WebKit/Source/bindings/templates/utilities.cpp.tmpl
+++ b/third_party/WebKit/Source/bindings/templates/utilities.cpp.tmpl
@@ -43,25 +43,25 @@ const char* {{enum_variable}}[] = {
{% macro property_location(member) %}
{% set property_location_list = [] %}
{% if member.on_instance %}
-{% set property_location_list = property_location_list + ['V8DOMConfiguration::OnInstance'] %}
+{% set property_location_list = property_location_list + ['V8DOMConfiguration::kOnInstance'] %}
{% endif %}
{% if member.on_prototype %}
-{% set property_location_list = property_location_list + ['V8DOMConfiguration::OnPrototype'] %}
+{% set property_location_list = property_location_list + ['V8DOMConfiguration::kOnPrototype'] %}
{% endif %}
{% if member.on_interface %}
-{% set property_location_list = property_location_list + ['V8DOMConfiguration::OnInterface'] %}
+{% set property_location_list = property_location_list + ['V8DOMConfiguration::kOnInterface'] %}
{% endif %}
{{property_location_list | join(' | ')}}
{%- endmacro %}
{% macro check_origin_trial(member, isolate="info.GetIsolate()") -%}
-ExecutionContext* executionContext = currentExecutionContext({{isolate}});
+ExecutionContext* executionContext = CurrentExecutionContext({{isolate}});
String errorMessage;
if (!{{member.origin_trial_enabled_function}}(executionContext, errorMessage)) {
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate()));
- if (!errorMessage.isEmpty()) {
- executionContext->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage));
+ V8SetReturnValue(info, v8::Undefined(info.GetIsolate()));
+ if (!errorMessage.IsEmpty()) {
+ executionContext->AddConsoleMessage(ConsoleMessage::Create(kJSMessageSource, kErrorMessageLevel, errorMessage));
}
return;
}

Powered by Google App Engine
This is Rietveld 408576698