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

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

Issue 1018863002: compositor-worker: Introduce CompositorWorker. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 5 years, 9 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/CompositorWorkerMessagingProxy.cpp
diff --git a/Source/modules/compositorworker/CompositorWorkerMessagingProxy.cpp b/Source/modules/compositorworker/CompositorWorkerMessagingProxy.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..d5409dee6099eaed55789cf46b8c1b5229cd53c8
--- /dev/null
+++ b/Source/modules/compositorworker/CompositorWorkerMessagingProxy.cpp
@@ -0,0 +1,27 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "config.h"
+#include "modules/compositorworker/CompositorWorkerMessagingProxy.h"
+
+#include "core/workers/WorkerThreadStartupData.h"
+#include "modules/compositorworker/CompositorWorkerThread.h"
+
+namespace blink {
+
+CompositorWorkerMessagingProxy::CompositorWorkerMessagingProxy(Worker* worker, PassOwnPtrWillBeRawPtr<WorkerClients> workerClients)
+ : WorkerMessagingProxy(worker, workerClients)
+{
+}
+
+CompositorWorkerMessagingProxy::~CompositorWorkerMessagingProxy()
+{
+}
+
+PassRefPtr<WorkerThread> CompositorWorkerMessagingProxy::createWorkerThread(double originTime, PassOwnPtrWillBeRawPtr<WorkerThreadStartupData> startupData)
+{
+ return CompositorWorkerThread::create(loaderProxy(), workerObjectProxy(), originTime, startupData);
+}
+
+} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698