Chromium Code Reviews| 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..9073c648738073aa13a5db82ea27774a1f0868f5 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" |
|
jbroman
2016/03/04 15:23:48
I don't think this include is required anymore.
iclelland
2016/03/07 15:38:37
Done.
|
| #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 (!OriginTrials::from(scriptState->executionContext())->experimentalFrameworkSampleAPIEnabled(errorMessage)) { |
| exceptionState.throwDOMException(NotSupportedError, errorMessage); |
| return false; |
| } |