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

Side by Side Diff: cc/layers/picture_layer_impl_unittest.cc

Issue 1539203002: Switch to standard integer types in cc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 5 years 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
« no previous file with comments | « cc/layers/picture_layer_impl_perftest.cc ('k') | cc/layers/picture_layer_unittest.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/layers/picture_layer_impl.h" 5 #include "cc/layers/picture_layer_impl.h"
6 6
7 #include <stddef.h>
8
7 #include <algorithm> 9 #include <algorithm>
8 #include <limits> 10 #include <limits>
9 #include <set> 11 #include <set>
10 #include <utility> 12 #include <utility>
11 13
12 #include "base/location.h" 14 #include "base/location.h"
15 #include "base/macros.h"
13 #include "base/thread_task_runner_handle.h" 16 #include "base/thread_task_runner_handle.h"
14 #include "cc/base/math_util.h" 17 #include "cc/base/math_util.h"
15 #include "cc/layers/append_quads_data.h" 18 #include "cc/layers/append_quads_data.h"
16 #include "cc/layers/layer_settings.h" 19 #include "cc/layers/layer_settings.h"
17 #include "cc/layers/picture_layer.h" 20 #include "cc/layers/picture_layer.h"
18 #include "cc/quads/draw_quad.h" 21 #include "cc/quads/draw_quad.h"
19 #include "cc/quads/tile_draw_quad.h" 22 #include "cc/quads/tile_draw_quad.h"
20 #include "cc/test/begin_frame_args_test.h" 23 #include "cc/test/begin_frame_args_test.h"
21 #include "cc/test/fake_content_layer_client.h" 24 #include "cc/test/fake_content_layer_client.h"
22 #include "cc/test/fake_display_list_raster_source.h" 25 #include "cc/test/fake_display_list_raster_source.h"
(...skipping 5027 matching lines...) Expand 10 before | Expand all | Expand 10 after
5050 // New low res tiling. 5053 // New low res tiling.
5051 EXPECT_TRUE(tilings->tiling_at(2)->may_contain_low_resolution_tiles()); 5054 EXPECT_TRUE(tilings->tiling_at(2)->may_contain_low_resolution_tiles());
5052 5055
5053 // This tiling will be high res now, it won't contain low res content since it 5056 // This tiling will be high res now, it won't contain low res content since it
5054 // was all destroyed. 5057 // was all destroyed.
5055 EXPECT_FALSE(tilings->tiling_at(1)->may_contain_low_resolution_tiles()); 5058 EXPECT_FALSE(tilings->tiling_at(1)->may_contain_low_resolution_tiles());
5056 } 5059 }
5057 5060
5058 } // namespace 5061 } // namespace
5059 } // namespace cc 5062 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layers/picture_layer_impl_perftest.cc ('k') | cc/layers/picture_layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698