| Index: chrome/browser/ui/cocoa/constrained_window/constrained_window_sheet_controller_unittest.mm
|
| diff --git a/chrome/browser/ui/cocoa/constrained_window/constrained_window_sheet_controller_unittest.mm b/chrome/browser/ui/cocoa/constrained_window/constrained_window_sheet_controller_unittest.mm
|
| index 6566d21d404e6a11155a8b06841c4d7b02b39100..5c0b0d5ff516d93d1b937876c194128320ddd93a 100644
|
| --- a/chrome/browser/ui/cocoa/constrained_window/constrained_window_sheet_controller_unittest.mm
|
| +++ b/chrome/browser/ui/cocoa/constrained_window/constrained_window_sheet_controller_unittest.mm
|
| @@ -6,6 +6,7 @@
|
|
|
| #include <stddef.h>
|
|
|
| +#include "base/mac/sdk_forward_declarations.h"
|
| #include "base/macros.h"
|
| #import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
|
| #import "chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.h"
|
| @@ -159,7 +160,7 @@ class ConstrainedWindowSheetControllerTest : public CocoaTest {
|
|
|
| NSRect GetViewFrameInScreenCoordinates(NSView* view) {
|
| NSRect rect = [view convertRect:[view bounds] toView:nil];
|
| - rect.origin = [[view window] convertBaseToScreen:rect.origin];
|
| + rect = [[view window] convertRectToScreen:rect];
|
| return rect;
|
| }
|
|
|
|
|