| 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 aed634e711b7600d9b41135232fd6a5d9a02aa18..08c5c63d6909f961438680f39cc2a9afd8e2ab32 100644
|
| --- a/third_party/WebKit/Source/core/origin_trials/testing/InternalsFrobulate.cpp
|
| +++ b/third_party/WebKit/Source/core/origin_trials/testing/InternalsFrobulate.cpp
|
| @@ -14,8 +14,8 @@ namespace blink {
|
| bool InternalsFrobulate::frobulate(ScriptState* scriptState, Internals& internals, ExceptionState& exceptionState)
|
| {
|
| String errorMessage;
|
| - if (!OriginTrials::originTrialsSampleAPIEnabled(scriptState->getExecutionContext(), errorMessage)) {
|
| - exceptionState.throwDOMException(NotSupportedError, errorMessage);
|
| + if (!OriginTrials::originTrialsSampleAPIEnabled(scriptState->getExecutionContext())) {
|
| + exceptionState.throwDOMException(NotSupportedError, "The Origin Trials Sample API has not been enabled in this context");
|
| return false;
|
| }
|
| return frobulateNoEnabledCheck(internals);
|
|
|