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

Side by Side Diff: cc/output/bsp_tree_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/output/bsp_tree.h ('k') | cc/output/compositor_frame.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <stddef.h>
6
5 #include <deque> 7 #include <deque>
6 8
7 #include "base/macros.h" 9 #include "base/macros.h"
8 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
9 #include "cc/output/bsp_tree.h" 11 #include "cc/output/bsp_tree.h"
10 #include "cc/output/bsp_walk_action.h" 12 #include "cc/output/bsp_walk_action.h"
11 #include "cc/quads/draw_polygon.h" 13 #include "cc/quads/draw_polygon.h"
12 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
13 15
14 namespace cc { 16 namespace cc {
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 polygon_list.push_back(std::move(polygon_c)); 341 polygon_list.push_back(std::move(polygon_c));
340 polygon_list.push_back(std::move(polygon_d)); 342 polygon_list.push_back(std::move(polygon_d));
341 343
342 int compare_ids[] = {3, 0, 1, 2, 3}; 344 int compare_ids[] = {3, 0, 1, 2, 3};
343 std::vector<int> compare_list = INT_VECTOR_FROM_ARRAY(compare_ids); 345 std::vector<int> compare_list = INT_VECTOR_FROM_ARRAY(compare_ids);
344 BspTreeTest::RunTest(&polygon_list, compare_list); 346 BspTreeTest::RunTest(&polygon_list, compare_list);
345 } 347 }
346 348
347 } // namespace 349 } // namespace
348 } // namespace cc 350 } // namespace cc
OLDNEW
« no previous file with comments | « cc/output/bsp_tree.h ('k') | cc/output/compositor_frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698