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

Unified Diff: cc/trees/proxy.cc

Issue 266353003: aw: Ubercomp mega patch (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | « cc/trees/layer_tree_host_impl.cc ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/proxy.cc
diff --git a/cc/trees/proxy.cc b/cc/trees/proxy.cc
index 66967a645c230e9a475978a793db8cb664b66cc5..e5528868c0e129c5d8fddbeda9fe07f6fba76dab 100644
--- a/cc/trees/proxy.cc
+++ b/cc/trees/proxy.cc
@@ -20,14 +20,16 @@ base::SingleThreadTaskRunner* Proxy::ImplThreadTaskRunner() const {
}
bool Proxy::IsMainThread() const {
+/*
#if DCHECK_IS_ON
DCHECK(main_task_runner_.get());
if (impl_thread_is_overridden_)
return false;
return main_task_runner_->BelongsToCurrentThread();
#else
+*/
return true;
-#endif
+// #endif
}
bool Proxy::IsImplThread() const {
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698