Index: trunk/src/chrome/browser/ui/cocoa/panels/panel_utils_cocoa.mm |
=================================================================== |
--- trunk/src/chrome/browser/ui/cocoa/panels/panel_utils_cocoa.mm (revision 221673) |
+++ trunk/src/chrome/browser/ui/cocoa/panels/panel_utils_cocoa.mm (working copy) |
@@ -15,15 +15,6 @@ |
bounds.width(), bounds.height()); |
} |
-gfx::Rect ConvertRectFromCocoaCoordinates(NSRect bounds) { |
- // Flip coordinates based on the primary screen. |
- NSScreen* screen = [[NSScreen screens] objectAtIndex:0]; |
- |
- return gfx::Rect( |
- NSMinX(bounds), NSHeight([screen frame]) - NSMaxY(bounds), |
- NSWidth(bounds), NSHeight(bounds)); |
-} |
- |
NSPoint ConvertPointToCocoaCoordinates(const gfx::Point& point) { |
// Flip coordinates based on the primary screen. |
NSScreen* screen = [[NSScreen screens] objectAtIndex:0]; |