diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-03 16:19:07 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-03 16:19:07 +0000 |
commit | 9a862589370681281d9e2875b7250e1e7d394903 (patch) | |
tree | 8f37d7b06fe6f8d109c367397d5447cec8f6462a /chrome/browser/cocoa/download_started_animation_mac.mm | |
parent | e8014aa57edec7e8e237af510200259a762088a8 (diff) | |
download | chromium_src-9a862589370681281d9e2875b7250e1e7d394903.zip chromium_src-9a862589370681281d9e2875b7250e1e7d394903.tar.gz chromium_src-9a862589370681281d9e2875b7250e1e7d394903.tar.bz2 |
Base coordinate system != Window base coordinate system. Fixing.
BUG=http://crbug.com/36485
TEST=everything should still work
Review URL: http://codereview.chromium.org/661322
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40519 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/download_started_animation_mac.mm')
-rw-r--r-- | chrome/browser/cocoa/download_started_animation_mac.mm | 3 |
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. |