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

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

Issue 1828973003: Fix indentation in template for [OriginTrialEnabled] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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 | « no previous file | third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/templates/utilities.cpp
diff --git a/third_party/WebKit/Source/bindings/templates/utilities.cpp b/third_party/WebKit/Source/bindings/templates/utilities.cpp
index 6391fec80c9e05c9ef44364f6f52f3911c946a8b..646484535e36ff0b3ec925edefea0fedeb2e75eb 100644
--- a/third_party/WebKit/Source/bindings/templates/utilities.cpp
+++ b/third_party/WebKit/Source/bindings/templates/utilities.cpp
@@ -59,11 +59,11 @@ const char* validValues[] = {
{% if origin_trial_name %}
String {{errorName}};
if (!{{origin_trial_name}}(executionContext, {{errorName}})) {
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate()));
- if (!{{errorName}}.isEmpty()) {
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, {{errorName}}));
- }
- return;
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate()));
+ if (!{{errorName}}.isEmpty()) {
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, {{errorName}}));
+ }
+ return;
}
{% endif %}
{% endmacro %}
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698