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

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

Issue 365463003: Implement scroll handler latency tracking (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comments. Created 6 years, 5 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
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/layer_tree_host_common.h" 5 #include "cc/trees/layer_tree_host_common.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "cc/base/latency_info_swap_promise.h"
10 #include "cc/base/math_util.h" 11 #include "cc/base/math_util.h"
11 #include "cc/layers/heads_up_display_layer_impl.h" 12 #include "cc/layers/heads_up_display_layer_impl.h"
12 #include "cc/layers/layer.h" 13 #include "cc/layers/layer.h"
13 #include "cc/layers/layer_impl.h" 14 #include "cc/layers/layer_impl.h"
14 #include "cc/layers/layer_iterator.h" 15 #include "cc/layers/layer_iterator.h"
15 #include "cc/layers/render_surface.h" 16 #include "cc/layers/render_surface.h"
16 #include "cc/layers/render_surface_impl.h" 17 #include "cc/layers/render_surface_impl.h"
17 #include "cc/trees/layer_sorter.h" 18 #include "cc/trees/layer_sorter.h"
18 #include "cc/trees/layer_tree_impl.h" 19 #include "cc/trees/layer_tree_impl.h"
19 #include "ui/gfx/rect_conversions.h" 20 #include "ui/gfx/rect_conversions.h"
(...skipping 2465 matching lines...) Expand 10 before | Expand all | Expand 10 after
2485 inputs->current_render_surface_layer_list_id); 2486 inputs->current_render_surface_layer_list_id);
2486 2487
2487 // The dummy layer list should not have been used. 2488 // The dummy layer list should not have been used.
2488 DCHECK_EQ(0u, dummy_layer_list.size()); 2489 DCHECK_EQ(0u, dummy_layer_list.size());
2489 // A root layer render_surface should always exist after 2490 // A root layer render_surface should always exist after
2490 // CalculateDrawProperties. 2491 // CalculateDrawProperties.
2491 DCHECK(inputs->root_layer->render_surface()); 2492 DCHECK(inputs->root_layer->render_surface());
2492 } 2493 }
2493 2494
2494 } // namespace cc 2495 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698