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

Unified Diff: cc/layer_impl.cc

Issue 11232051: Remove static thread pointers from CC (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 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: cc/layer_impl.cc
diff --git a/cc/layer_impl.cc b/cc/layer_impl.cc
index d7f06e18fbdaaad8a2d21b5e820a3d39679e7fc3..2ef4f90254860a0bf3e0ffe80553972d470aaae7 100644
--- a/cc/layer_impl.cc
+++ b/cc/layer_impl.cc
@@ -59,13 +59,11 @@ CCLayerImpl::CCLayerImpl(int id)
#endif
, m_layerAnimationController(CCLayerAnimationController::create(this))
{
- DCHECK(CCProxy::isImplThread());
DCHECK(m_layerId > 0);
}
CCLayerImpl::~CCLayerImpl()
{
- DCHECK(CCProxy::isImplThread());
#ifndef NDEBUG
DCHECK(!m_betweenWillDrawAndDidDraw);
#endif

Powered by Google App Engine
This is Rietveld 408576698