Index: third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThreadTest.cpp |
diff --git a/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThreadTest.cpp b/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThreadTest.cpp |
index 0cb2c4161534e6747bee70f8f495eeaf996c2f21..2154ae7f54d597edf8f2a6120b3a773ccd3dca00 100644 |
--- a/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThreadTest.cpp |
+++ b/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThreadTest.cpp |
@@ -181,7 +181,7 @@ public: |
private: |
void executeScriptInWorker(WorkerThread* worker, WaitableEvent* waitEvent) |
{ |
- WorkerOrWorkletScriptController* scriptController = worker->workerGlobalScope()->script(); |
+ WorkerOrWorkletScriptController* scriptController = worker->workerGlobalScope()->scriptController(); |
bool evaluateResult = scriptController->evaluate(ScriptSourceCode("var counter = 0; ++counter;")); |
ASSERT_UNUSED(evaluateResult, evaluateResult); |
waitEvent->signal(); |