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 e8939b8efc5582b77848c84aa54841320d4b1c0c..aeeeb92143d8531aeff18802de2061bd5ea20007 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 |
@@ -56,6 +56,10 @@ const int kSystemSheetReturnCode = 77; |
- (void)updateSheetPosition { |
} |
+- (NSWindow*)sheetWindow { |
+ return [alert_ window]; |
+} |
+ |
- (void)alertDidEnd:(NSAlert *)alert |
returnCode:(NSInteger)returnCode |
ctxInfo:(void *)contextInfo { |