| Index: content/browser/web_contents/web_drag_dest_mac.mm
|
| diff --git a/content/browser/web_contents/web_drag_dest_mac.mm b/content/browser/web_contents/web_drag_dest_mac.mm
|
| index ec674126d52e2831d6bdb16b072d83969e3f19c6..452bfc89cf2193969afe09b97a576ff745beff82 100644
|
| --- a/content/browser/web_contents/web_drag_dest_mac.mm
|
| +++ b/content/browser/web_contents/web_drag_dest_mac.mm
|
| @@ -15,6 +15,7 @@
|
| #include "third_party/WebKit/public/web/WebInputEvent.h"
|
| #import "third_party/mozilla/NSPasteboard+Utils.h"
|
| #include "ui/base/clipboard/custom_data_helper.h"
|
| +#include "ui/base/cocoa/cocoa_base_utils.h"
|
| #import "ui/base/dragdrop/cocoa_dnd_util.h"
|
| #include "ui/base/window_open_disposition.h"
|
|
|
| @@ -98,7 +99,8 @@ int GetModifierFlags() {
|
| - (NSPoint)flipWindowPointToScreen:(const NSPoint&)windowPoint
|
| view:(NSView*)view {
|
| DCHECK(view);
|
| - NSPoint screenPoint = [[view window] convertBaseToScreen:windowPoint];
|
| + NSPoint screenPoint =
|
| + ui::ConvertPointFromWindowToScreen([view window], windowPoint);
|
| NSScreen* screen = [[view window] screen];
|
| NSRect screenFrame = [screen frame];
|
| screenPoint.y = screenFrame.size.height - screenPoint.y;
|
|
|