blob: c6c7e9113f456e1b696f0397fdbba01773bee280 [file] [log] [blame]
// 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 "modules/compositorworker/CompositorWorkerMessagingProxy.h"
#include "core/workers/WorkerThreadStartupData.h"
#include "modules/compositorworker/CompositorWorkerThread.h"
#include <memory>
namespace blink {
CompositorWorkerMessagingProxy::CompositorWorkerMessagingProxy(InProcessWorkerBase* worker, WorkerClients* workerClients)
: InProcessWorkerMessagingProxy(worker, workerClients)
{
}
CompositorWorkerMessagingProxy::~CompositorWorkerMessagingProxy()
{
}
std::unique_ptr<WorkerThread> CompositorWorkerMessagingProxy::createWorkerThread(double originTime)
{
return CompositorWorkerThread::create(loaderProxy(), workerObjectProxy(), originTime);
}
} // namespace blink