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

Side by Side Diff: cc/trees/tree_synchronizer.cc

Issue 195973002: Change DCHECK_IS_ON() to DCHECK_IS_ON (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Keep a comment Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/layers/picture_layer_impl.cc ('k') | chrome/browser/history/top_sites_cache.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/trees/tree_synchronizer.h" 5 #include "cc/trees/tree_synchronizer.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/containers/hash_tables.h" 9 #include "base/containers/hash_tables.h"
10 #include "base/containers/scoped_ptr_hash_map.h" 10 #include "base/containers/scoped_ptr_hash_map.h"
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 CheckScrollAndClipPointersRecursive(layer->child_at(i), 284 CheckScrollAndClipPointersRecursive(layer->child_at(i),
285 layer_impl->child_at(i)); 285 layer_impl->child_at(i));
286 } 286 }
287 } 287 }
288 288
289 void TreeSynchronizer::PushProperties(Layer* layer, 289 void TreeSynchronizer::PushProperties(Layer* layer,
290 LayerImpl* layer_impl) { 290 LayerImpl* layer_impl) {
291 size_t num_dependents_need_push_properties = 0; 291 size_t num_dependents_need_push_properties = 0;
292 PushPropertiesInternal( 292 PushPropertiesInternal(
293 layer, layer_impl, &num_dependents_need_push_properties); 293 layer, layer_impl, &num_dependents_need_push_properties);
294 if (DCHECK_IS_ON()) { 294 #if DCHECK_IS_ON
295 CheckScrollAndClipPointersRecursive(layer, layer_impl); 295 CheckScrollAndClipPointersRecursive(layer, layer_impl);
296 } 296 #endif
297 } 297 }
298 298
299 void TreeSynchronizer::PushProperties(LayerImpl* layer, LayerImpl* layer_impl) { 299 void TreeSynchronizer::PushProperties(LayerImpl* layer, LayerImpl* layer_impl) {
300 size_t num_dependents_need_push_properties = 0; 300 size_t num_dependents_need_push_properties = 0;
301 PushPropertiesInternal( 301 PushPropertiesInternal(
302 layer, layer_impl, &num_dependents_need_push_properties); 302 layer, layer_impl, &num_dependents_need_push_properties);
303 } 303 }
304 304
305 } // namespace cc 305 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layers/picture_layer_impl.cc ('k') | chrome/browser/history/top_sites_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698