summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/global_error_bubble_controller.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/cocoa/global_error_bubble_controller.mm')
-rw-r--r--chrome/browser/ui/cocoa/global_error_bubble_controller.mm6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/ui/cocoa/global_error_bubble_controller.mm b/chrome/browser/ui/cocoa/global_error_bubble_controller.mm
index 4ccb41a..d053972 100644
--- a/chrome/browser/ui/cocoa/global_error_bubble_controller.mm
+++ b/chrome/browser/ui/cocoa/global_error_bubble_controller.mm
@@ -55,7 +55,7 @@ class Bridge : public GlobalErrorBubbleViewBase {
@implementation GlobalErrorBubbleController
+ (GlobalErrorBubbleViewBase*)showForBrowser:(Browser*)browser
- error:(const base::WeakPtr<GlobalError>&)error {
+ error:(const base::WeakPtr<GlobalErrorWithStandardBubble>&)error {
NSWindow* parentWindow = browser->window()->GetNativeWindow();
BrowserWindowController* bwc = [BrowserWindowController
browserWindowControllerForWindow:parentWindow];
@@ -161,8 +161,8 @@ class Bridge : public GlobalErrorBubbleViewBase {
@end
-GlobalErrorBubbleViewBase* GlobalErrorBubbleViewBase::ShowBubbleView(
+GlobalErrorBubbleViewBase* GlobalErrorBubbleViewBase::ShowStandardBubbleView(
Browser* browser,
- const base::WeakPtr<GlobalError>& error) {
+ const base::WeakPtr<GlobalErrorWithStandardBubble>& error) {
return [GlobalErrorBubbleController showForBrowser:browser error:error];
}