| Index: third_party/WebKit/Source/core/testing/WorkerInternals.cpp
|
| diff --git a/third_party/WebKit/Source/core/testing/WorkerInternals.cpp b/third_party/WebKit/Source/core/testing/WorkerInternals.cpp
|
| index 2eba88519b346cc863a0661a6258e4f3537cdfd3..42ee53948a1e119a65f732375f22c234cb4b35fb 100644
|
| --- a/third_party/WebKit/Source/core/testing/WorkerInternals.cpp
|
| +++ b/third_party/WebKit/Source/core/testing/WorkerInternals.cpp
|
| @@ -5,6 +5,7 @@
|
| #include "core/testing/WorkerInternals.h"
|
|
|
| #include "bindings/core/v8/ScriptState.h"
|
| +#include "core/dom/ExecutionContext.h"
|
| #include "core/frame/Deprecation.h"
|
| #include "core/frame/UseCounter.h"
|
| #include "core/testing/OriginTrialsTest.h"
|
| @@ -21,13 +22,13 @@ OriginTrialsTest* WorkerInternals::originTrialsTest() const {
|
|
|
| void WorkerInternals::countFeature(ScriptState* script_state,
|
| uint32_t feature) {
|
| - UseCounter::Count(script_state->GetExecutionContext(),
|
| + UseCounter::Count(ExecutionContext::From(script_state),
|
| static_cast<UseCounter::Feature>(feature));
|
| }
|
|
|
| void WorkerInternals::countDeprecation(ScriptState* script_state,
|
| uint32_t feature) {
|
| - Deprecation::CountDeprecation(script_state->GetExecutionContext(),
|
| + Deprecation::CountDeprecation(ExecutionContext::From(script_state),
|
| static_cast<UseCounter::Feature>(feature));
|
| }
|
|
|
|
|