| Index: third_party/WebKit/Source/core/experiments/testing/InternalsFrobulate.cpp
|
| diff --git a/third_party/WebKit/Source/core/experiments/testing/InternalsFrobulate.cpp b/third_party/WebKit/Source/core/experiments/testing/InternalsFrobulate.cpp
|
| index b7d7b6e44c1bf876f5ed9ce615ef003194e8652a..5d1ea1e65d4a21e592e8044d8b41e4a0fddbb0ae 100644
|
| --- a/third_party/WebKit/Source/core/experiments/testing/InternalsFrobulate.cpp
|
| +++ b/third_party/WebKit/Source/core/experiments/testing/InternalsFrobulate.cpp
|
| @@ -6,19 +6,15 @@
|
|
|
| #include "bindings/core/v8/ExceptionState.h"
|
| #include "core/dom/ExceptionCode.h"
|
| -#include "core/experiments/Experiments.h"
|
| +#include "core/experiments/ExperimentalFeatures.h"
|
|
|
| namespace blink {
|
|
|
| -namespace {
|
| -const char* kFrobulateAPIName = "Frobulate";
|
| -}
|
| -
|
| // static
|
| bool InternalsFrobulate::frobulate(ScriptState* scriptState, Internals& internals, ExceptionState& exceptionState)
|
| {
|
| String errorMessage;
|
| - if (!Experiments::isApiEnabled(scriptState->executionContext(), kFrobulateAPIName, errorMessage)) {
|
| + if (!ExperimentalFeatures::experimentalFrameworkSampleAPIEnabled(scriptState->executionContext(), errorMessage)) {
|
| exceptionState.throwDOMException(NotSupportedError, errorMessage);
|
| return false;
|
| }
|
|
|