Chromium Code Reviews| 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 5040010b78ed8894b20fa9219ae5213f6d4343fb..b91635aa89bae367963eeb2090a92aace01b0925 100644 |
| --- a/third_party/WebKit/Source/bindings/templates/utilities.cpp.tmpl |
| +++ b/third_party/WebKit/Source/bindings/templates/utilities.cpp.tmpl |
| @@ -53,16 +53,3 @@ const char* {{enum_variable}}[] = { |
| {% endif %} |
| {{property_location_list | join(' | ')}} |
| {%- endmacro %} |
| - |
| - |
| -{% macro check_origin_trial(member, isolate="info.GetIsolate()") -%} |
|
iclelland
2017/05/12 15:11:49
Can you mention in the CL description that this un
chasej
2017/05/16 02:21:39
Done.
|
| -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(kJSMessageSource, kErrorMessageLevel, errorMessage)); |
| - } |
| - return; |
| -} |
| -{% endmacro %} |