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

Side by Side Diff: cc/base/rtree.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/base/rtree.h ('k') | cc/base/rtree_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 (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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/base/rtree.h" 5 #include "cc/base/rtree.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include <cmath> 10 #include <cmath>
8 11
9 #include "base/logging.h" 12 #include "base/logging.h"
10 13
11 namespace cc { 14 namespace cc {
12 15
13 RTree::RTree() : num_data_elements_(0u) {} 16 RTree::RTree() : num_data_elements_(0u) {}
14 17
15 RTree::~RTree() {} 18 RTree::~RTree() {}
16 19
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 SearchRecursive(node->children[i].subtree, query, results); 108 SearchRecursive(node->children[i].subtree, query, results);
106 } 109 }
107 } 110 }
108 } 111 }
109 112
110 gfx::Rect RTree::GetBounds() const { 113 gfx::Rect RTree::GetBounds() const {
111 return root_.bounds; 114 return root_.bounds;
112 } 115 }
113 116
114 } // namespace cc 117 } // namespace cc
OLDNEW
« no previous file with comments | « cc/base/rtree.h ('k') | cc/base/rtree_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698