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

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

Issue 2611823003: ABANDONED CL: Changes to compile and pass tests after Big Blink Rename (excluding functions). (Closed)
Patch Set: Inducing merge conflicts to force human review and changes after rename. Created 3 years, 11 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..dedf71be40fd47a173742e5d970b400d7ac38793 100644
--- a/third_party/WebKit/Source/bindings/templates/utilities.cpp.tmpl
+++ b/third_party/WebKit/Source/bindings/templates/utilities.cpp.tmpl
@@ -43,13 +43,13 @@ 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 %}
@@ -61,7 +61,7 @@ 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));
+ executionContext->addConsoleMessage(ConsoleMessage::create(kJSMessageSource, kErrorMessageLevel, errorMessage));
}
return;
}

Powered by Google App Engine
This is Rietveld 408576698