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

Unified Diff: cc/test/push_properties_counting_layer_impl.cc

Issue 2897703002: DCHECK that property tree access is safe in LayerTreeImpl::DidUpdateScrollState (Closed)
Patch Set: Created 3 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 | « no previous file | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/push_properties_counting_layer_impl.cc
diff --git a/cc/test/push_properties_counting_layer_impl.cc b/cc/test/push_properties_counting_layer_impl.cc
index 523317081263c31af0358f5c19ab073f091ac0e9..13659b4d45c31e1decb5abe032ae834fa5d153ec 100644
--- a/cc/test/push_properties_counting_layer_impl.cc
+++ b/cc/test/push_properties_counting_layer_impl.cc
@@ -15,9 +15,7 @@ PushPropertiesCountingLayerImpl::Create(LayerTreeImpl* tree_impl, int id) {
PushPropertiesCountingLayerImpl::PushPropertiesCountingLayerImpl(
LayerTreeImpl* tree_impl,
int id)
- : LayerImpl(tree_impl, id), push_properties_count_(0) {
- SetBounds(gfx::Size(1, 1));
-}
+ : LayerImpl(tree_impl, id), push_properties_count_(0) {}
PushPropertiesCountingLayerImpl::~PushPropertiesCountingLayerImpl() = default;
« no previous file with comments | « no previous file | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698