diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-17 14:05:05 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-17 14:05:05 +0000 |
commit | b184393a890071e5112400ad7f2572f91f5c7140 (patch) | |
tree | 3e218e3e150072d8aea98a9f2816a1a0e8f57085 | |
parent | 5c538f7a94289561dd3646763a8ab642e79b83ab (diff) | |
download | chromium_src-b184393a890071e5112400ad7f2572f91f5c7140.zip chromium_src-b184393a890071e5112400ad7f2572f91f5c7140.tar.gz chromium_src-b184393a890071e5112400ad7f2572f91f5c7140.tar.bz2 |
Drop a comment that's no longer valid.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/1002005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41836 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/renderer_host/render_widget_host_view_mac.mm | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/renderer_host/render_widget_host_view_mac.mm b/chrome/browser/renderer_host/render_widget_host_view_mac.mm index 0ee2c885..b46a3dd 100644 --- a/chrome/browser/renderer_host/render_widget_host_view_mac.mm +++ b/chrome/browser/renderer_host/render_widget_host_view_mac.mm @@ -144,10 +144,6 @@ void RenderWidgetHostViewMac::InitAsPopup( [cocoa_view_ setCanBeKeyView:activatable_ ? YES : NO]; [parent_host_view->GetNativeView() addSubview:cocoa_view_]; - // TODO(avi):Why the hell are these screen coordinates? The Windows code calls - // ::MoveWindow() which indicates they should be local, but when running it I - // get global ones instead! - NSPoint global_origin = NSPointFromCGPoint(pos.origin().ToCGPoint()); global_origin.y = [[[cocoa_view_ window] screen] frame].size.height - pos.height() - global_origin.y; |