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

Unified Diff: webkit/support/webkit_support.cc

Issue 17114008: cc: Remove cc::Thread and cc::ThreadImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm-thread: NULLrefptrs Created 7 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
« no previous file with comments | « webkit/support/web_layer_tree_view_impl_for_testing.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/support/webkit_support.cc
diff --git a/webkit/support/webkit_support.cc b/webkit/support/webkit_support.cc
index a9dbe95c05ac7c47aa5239b9c3e8538e9ed5d39a..66a3f1367368a1dc3f122bcec44b9b45447c956b 100644
--- a/webkit/support/webkit_support.cc
+++ b/webkit/support/webkit_support.cc
@@ -28,7 +28,6 @@
#include "base/strings/sys_string_conversions.h"
#include "base/strings/utf_string_conversions.h"
#include "base/time.h"
-#include "cc/base/thread_impl.h"
#include "googleurl/src/url_util.h"
#include "grit/webkit_chromium_resources.h"
#include "media/base/filter_collection.h"
@@ -464,16 +463,12 @@ WebKit::WebLayerTreeView* CreateLayerTreeView(
LayerTreeViewType type,
DRTLayerTreeViewClient* client,
WebKit::WebThread* thread) {
- scoped_ptr<cc::Thread> compositor_thread;
- if (thread)
- compositor_thread = cc::ThreadImpl::CreateForDifferentThread(
- static_cast<webkit_glue::WebThreadImpl*>(thread)->
- message_loop()->message_loop_proxy());
+ DCHECK(!thread);
scoped_ptr<webkit::WebLayerTreeViewImplForTesting> view(
new webkit::WebLayerTreeViewImplForTesting(type, client));
- if (!view->Initialize(compositor_thread.Pass()))
+ if (!view->Initialize())
return NULL;
return view.release();
}
« no previous file with comments | « webkit/support/web_layer_tree_view_impl_for_testing.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698