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

Unified Diff: chrome/browser/ui/views/frame/opaque_browser_frame_view.cc

Issue 67923002: Fixes for -Wunused-function on Linux, Android and ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase for realz 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
Index: chrome/browser/ui/views/frame/opaque_browser_frame_view.cc
diff --git a/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc b/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc
index 7f59ea3d7e19ece932eed2465796e6b81b33be14..53a3285c8553a95bae7abf2aa342022e4e54dc87 100644
--- a/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc
+++ b/chrome/browser/ui/views/frame/opaque_browser_frame_view.cc
@@ -76,18 +76,6 @@ const int kIconMinimumSize = 16;
// the top of the screen so the tabs appear flush against the screen edge.
const int kTabstripTopShadowThickness = 3;
-// Converts |bounds| from |src|'s coordinate system to |dst|, and checks if
-// |pt| is contained within.
-bool ConvertedContainsCheck(gfx::Rect bounds, const views::View* src,
- const views::View* dst, const gfx::Point& pt) {
- DCHECK(src);
- DCHECK(dst);
- gfx::Point origin(bounds.origin());
- views::View::ConvertPointToTarget(src, dst, &origin);
- bounds.set_origin(origin);
- return bounds.Contains(pt);
-}
-
} // namespace
///////////////////////////////////////////////////////////////////////////////

Powered by Google App Engine
This is Rietveld 408576698