| Index: third_party/WebKit/Source/core/origin_trials/testing/InternalsFrobulate.cpp
|
| diff --git a/third_party/WebKit/Source/core/origin_trials/testing/InternalsFrobulate.cpp b/third_party/WebKit/Source/core/origin_trials/testing/InternalsFrobulate.cpp
|
| index f2b361faf60643d6c4c63fdd99a320308bd31333..53fed509dce8782cd7a31376290c17ed963e2bdd 100644
|
| --- a/third_party/WebKit/Source/core/origin_trials/testing/InternalsFrobulate.cpp
|
| +++ b/third_party/WebKit/Source/core/origin_trials/testing/InternalsFrobulate.cpp
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "bindings/core/v8/ExceptionState.h"
|
| #include "core/dom/ExceptionCode.h"
|
| +#include "core/dom/ExecutionContext.h"
|
| #include "core/origin_trials/OriginTrials.h"
|
|
|
| namespace blink {
|
| @@ -14,7 +15,7 @@ namespace blink {
|
| bool InternalsFrobulate::frobulate(ScriptState* scriptState, Internals& internals, ExceptionState& exceptionState)
|
| {
|
| String errorMessage;
|
| - if (!OriginTrials::experimentalFrameworkSampleAPIEnabled(scriptState->executionContext(), errorMessage)) {
|
| + if (!scriptState->executionContext()->originTrials()->experimentalFrameworkSampleAPIEnabled(errorMessage)) {
|
| exceptionState.throwDOMException(NotSupportedError, errorMessage);
|
| return false;
|
| }
|
|
|