summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/download_started_animation_mac.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/download_started_animation_mac.mm')
-rw-r--r--chrome/browser/cocoa/download_started_animation_mac.mm3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/download_started_animation_mac.mm b/chrome/browser/cocoa/download_started_animation_mac.mm
index bbb9072..194632a 100644
--- a/chrome/browser/cocoa/download_started_animation_mac.mm
+++ b/chrome/browser/cocoa/download_started_animation_mac.mm
@@ -114,8 +114,7 @@ private:
}
NSPoint origin = [tabContentsView frame].origin;
- // TODO(avi) http://crbug.com/36485; base != window
- origin = [tabContentsView convertPointToBase:origin];
+ origin = [tabContentsView convertPoint:origin toView:nil];
origin = [parentWindow convertBaseToScreen:origin];
// Create a window to host a layer that animates the sliding and fading.