| 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 4695997d86397cd8b09e8585bf6824f0a7dc4513..1ba1dfe8d83da5deb4ed2df85156fcdda905435c 100644
|
| --- a/third_party/WebKit/Source/bindings/templates/utilities.cpp
|
| +++ b/third_party/WebKit/Source/bindings/templates/utilities.cpp
|
| @@ -61,7 +61,7 @@ String errorMessage;
|
| if (!{{member.origin_trial_enabled_function}}(executionContext, errorMessage)) {
|
| v8SetReturnValue(info, v8::Undefined(info.GetIsolate()));
|
| if (!errorMessage.isEmpty()) {
|
| - toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage));
|
| + executionContext->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage));
|
| }
|
| return;
|
| }
|
|
|