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

Unified Diff: cc/layers/layer.cc

Issue 2957373002: cc: Don't touch layer state during painting. (Closed)
Patch Set: Created 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer.cc
diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc
index 4740816bbb011a2908c9156a93f347d7680fafa3..d23016a639ed888d04c593906965bd8020d1c129 100644
--- a/cc/layers/layer.cc
+++ b/cc/layers/layer.cc
@@ -941,7 +941,7 @@ void Layer::Set3dSortingContextId(int id) {
}
void Layer::SetTransformTreeIndex(int index) {
- DCHECK(IsPropertyChangeAllowed());
+ CHECK(IsPropertyChangeAllowed());
if (transform_tree_index_ == index)
return;
transform_tree_index_ = index;
@@ -958,7 +958,7 @@ int Layer::transform_tree_index() const {
}
void Layer::SetClipTreeIndex(int index) {
- DCHECK(IsPropertyChangeAllowed());
+ CHECK(IsPropertyChangeAllowed());
if (clip_tree_index_ == index)
return;
clip_tree_index_ = index;
@@ -975,7 +975,7 @@ int Layer::clip_tree_index() const {
}
void Layer::SetEffectTreeIndex(int index) {
- DCHECK(IsPropertyChangeAllowed());
+ CHECK(IsPropertyChangeAllowed());
if (effect_tree_index_ == index)
return;
effect_tree_index_ = index;
@@ -992,7 +992,7 @@ int Layer::effect_tree_index() const {
}
void Layer::SetScrollTreeIndex(int index) {
- DCHECK(IsPropertyChangeAllowed());
+ CHECK(IsPropertyChangeAllowed());
if (scroll_tree_index_ == index)
return;
scroll_tree_index_ = index;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698