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

Unified Diff: cc/resources/tile_priority.cc

Issue 63153003: mac: Prepare for -Wunused-functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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
« no previous file with comments | « cc/layers/picture_layer_impl.cc ('k') | chrome/browser/devtools/adb/android_rsa.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/tile_priority.cc
diff --git a/cc/resources/tile_priority.cc b/cc/resources/tile_priority.cc
index eeb87cdcbbc63d1ae89a74a9538961aac6eb74a1..9cf4634f7d5da1cb3a1204c1afd17c3e04c775b6 100644
--- a/cc/resources/tile_priority.cc
+++ b/cc/resources/tile_priority.cc
@@ -18,14 +18,6 @@ struct Range {
float end_;
};
-inline bool Intersects(const Range& a, const Range& b) {
- return a.start_ < b.end_ && b.start_ < a.end_;
-}
-
-inline Range Intersect(const Range& a, const Range& b) {
- return Range(std::max(a.start_, b.start_), std::min(a.end_, b.end_));
-}
-
bool Range::IsEmpty() {
return start_ >= end_;
}
« no previous file with comments | « cc/layers/picture_layer_impl.cc ('k') | chrome/browser/devtools/adb/android_rsa.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698