diff options
Diffstat (limited to 'cc/layer_impl.cc')
-rw-r--r-- | cc/layer_impl.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cc/layer_impl.cc b/cc/layer_impl.cc index f1555c1..fadcf04 100644 --- a/cc/layer_impl.cc +++ b/cc/layer_impl.cc @@ -65,11 +65,13 @@ 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 |