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

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: Apply code review comments Created 8 years, 1 month 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/gl_renderer_unittest.cc ('k') | cc/layer_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_impl.cc
diff --git a/cc/layer_impl.cc b/cc/layer_impl.cc
index 65970d9511a8c382683f178a8bc5b9bf1bd1e590..10bd1e260f63ae325a98e7bbd3d70fb81547c100 100644
--- a/cc/layer_impl.cc
+++ b/cc/layer_impl.cc
@@ -66,13 +66,11 @@ LayerImpl::LayerImpl(int id)
#endif
, m_layerAnimationController(LayerAnimationController::create(this))
{
- DCHECK(Proxy::isImplThread());
DCHECK(m_layerId > 0);
}
LayerImpl::~LayerImpl()
{
- DCHECK(Proxy::isImplThread());
#ifndef NDEBUG
DCHECK(!m_betweenWillDrawAndDidDraw);
#endif
« no previous file with comments | « cc/gl_renderer_unittest.cc ('k') | cc/layer_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698