[chromium] Implement CCThread in terms of WebThread
authornduca@chromium.org <nduca@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 24 Aug 2011 01:22:22 +0000 (01:22 +0000)
committernduca@chromium.org <nduca@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 24 Aug 2011 01:22:22 +0000 (01:22 +0000)
https://bugs.webkit.org/show_bug.cgi?id=66610

Reviewed by Darin Fisher.

Source/WebCore:

* WebCore.gypi:
* platform/graphics/chromium/cc/CCCompletionEvent.h:
* platform/graphics/chromium/cc/CCLayerTreeHost.h:
(WebCore::CCLayerTreeHost::client):
* platform/graphics/chromium/cc/CCLayerTreeHostImplProxy.cpp:
(WebCore::CCLayerTreeHostImplProxy::CCLayerTreeHostImplProxy):
* platform/graphics/chromium/cc/CCThread.h:
(WebCore::CCThread::~CCThread):

Source/WebKit/chromium:

* WebKit.gyp:
* public/WebThread.h:
(WebKit::WebThread::~WebThread):
* src/CCThreadImpl.cpp: Added.
(WebKit::GetThreadIDTask::GetThreadIDTask):
(WebKit::GetThreadIDTask::~GetThreadIDTask):
(WebKit::GetThreadIDTask::run):
(WebKit::CCThreadTaskAdapter::CCThreadTaskAdapter):
(WebKit::CCThreadTaskAdapter::~CCThreadTaskAdapter):
(WebKit::CCThreadTaskAdapter::run):
(WebKit::CCThreadImpl::create):
(WebKit::CCThreadImpl::~CCThreadImpl):
(WebKit::CCThreadImpl::postTask):
(WebKit::CCThreadImpl::threadID):
(WebKit::CCThreadImpl::CCThreadImpl):
* src/CCThreadImpl.h: Renamed from Source/WebCore/platform/graphics/chromium/cc/CCThread.cpp.
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::createCompositorThread):
* src/WebViewImpl.h:
* tests/CCThreadTest.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@93680 268f45cc-cd09-0410-ab3c-d52691b4dbfc


No differences found