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

Unified Diff: cc/base/rtree.cc

Issue 1484163002: Raster display item lists via a visual rect RTree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync to head. 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 side-by-side diff with in-line comments
Download patch
Index: cc/base/rtree.cc
diff --git a/cc/base/rtree.cc b/cc/base/rtree.cc
index 79a4bcd5adc864053ba4949295f72e2d4698b126..9efc746d446303572d068da2af4333a3283e7239 100644
--- a/cc/base/rtree.cc
+++ b/cc/base/rtree.cc
@@ -107,4 +107,8 @@ void RTree::SearchRecursive(Node* node,
}
}
+gfx::Rect RTree::GetBounds() const {
+ return root_.bounds;
+}
+
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698