| 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 %}
|
|
|