| Index: chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.mm
|
| diff --git a/chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.mm b/chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.mm
|
| index 80ca7e0f4421ac7a6b8831cf8d0a20740028ec05..7240b9a18814d859cb9182a5ae2eb34db82b2b4e 100644
|
| --- a/chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.mm
|
| +++ b/chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.mm
|
| @@ -76,9 +76,11 @@ void ConstrainedWindowMac::PulseWebContentsModalDialog() {
|
| pulseSheet:sheet_];
|
| }
|
|
|
| -gfx::NativeWindow ConstrainedWindowMac::GetNativeWindow() {
|
| - NOTREACHED();
|
| - return nil;
|
| +NativeWebContentsModalDialog ConstrainedWindowMac::GetNativeDialog() {
|
| + // TODO(wittman): Ultimately this should be changed to the
|
| + // ConstrainedWindowSheet pointer, in conjunction with the corresponding
|
| + // changes to NativeWebContentsModalDialogManagerCocoa.
|
| + return this;
|
| }
|
|
|
| void ConstrainedWindowMac::Observe(
|
|
|