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

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

Issue 1587283002: Switch cc to std::unordered_*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@unordered-map
Patch Set: Created 4 years, 11 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
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_impl.h" 5 #include "cc/trees/layer_tree_host_impl.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <cmath> 10 #include <cmath>
11 #include <utility> 11 #include <utility>
12 12
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/command_line.h" 14 #include "base/command_line.h"
15 #include "base/containers/hash_tables.h"
16 #include "base/containers/scoped_ptr_hash_map.h"
17 #include "base/location.h" 15 #include "base/location.h"
18 #include "base/thread_task_runner_handle.h" 16 #include "base/thread_task_runner_handle.h"
19 #include "cc/animation/animation_host.h" 17 #include "cc/animation/animation_host.h"
20 #include "cc/animation/animation_id_provider.h" 18 #include "cc/animation/animation_id_provider.h"
21 #include "cc/animation/scrollbar_animation_controller_thinning.h" 19 #include "cc/animation/scrollbar_animation_controller_thinning.h"
22 #include "cc/animation/transform_operations.h" 20 #include "cc/animation/transform_operations.h"
23 #include "cc/base/math_util.h" 21 #include "cc/base/math_util.h"
24 #include "cc/input/page_scale_animation.h" 22 #include "cc/input/page_scale_animation.h"
25 #include "cc/input/top_controls_manager.h" 23 #include "cc/input/top_controls_manager.h"
26 #include "cc/layers/append_quads_data.h" 24 #include "cc/layers/append_quads_data.h"
(...skipping 9448 matching lines...) Expand 10 before | Expand all | Expand 10 after
9475 // There should not be any jitter measured till we hit the fixed point hits 9473 // There should not be any jitter measured till we hit the fixed point hits
9476 // threshold. 9474 // threshold.
9477 float expected_jitter = 9475 float expected_jitter =
9478 (i == pending_tree->kFixedPointHitsThreshold) ? 500 : 0; 9476 (i == pending_tree->kFixedPointHitsThreshold) ? 500 : 0;
9479 EXPECT_EQ(jitter, expected_jitter); 9477 EXPECT_EQ(jitter, expected_jitter);
9480 } 9478 }
9481 } 9479 }
9482 9480
9483 } // namespace 9481 } // namespace
9484 } // namespace cc 9482 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698