Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1840)

Unified Diff: Source/modules/compositorworker/CompositorWorker.cpp

Issue 1164753004: Tidy up CompositorWorkerManager unit tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/compositorworker/CompositorWorker.cpp
diff --git a/Source/modules/compositorworker/CompositorWorker.cpp b/Source/modules/compositorworker/CompositorWorker.cpp
index 177b621409bd19486d1e56bb73d9eeaade372fe5..3e30946021747aaa07e7ce3be9f0c39c18357109 100644
--- a/Source/modules/compositorworker/CompositorWorker.cpp
+++ b/Source/modules/compositorworker/CompositorWorker.cpp
@@ -47,8 +47,7 @@ const AtomicString& CompositorWorker::interfaceName() const
WorkerGlobalScopeProxy* CompositorWorker::createWorkerGlobalScopeProxy(ExecutionContext* worker)
{
ASSERT(executionContext()->isDocument());
- OwnPtrWillBeRawPtr<WorkerClients> workerClients = WorkerClients::create();
- return new CompositorWorkerMessagingProxy(this, workerClients.release());
+ return new CompositorWorkerMessagingProxy(this);
}
} // namespace blink
« no previous file with comments | « Source/core/workers/WorkerThreadTest.cpp ('k') | Source/modules/compositorworker/CompositorWorkerManagerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698