| Index: chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller.mm b/chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller.mm
|
| index 0b52383a314b3019b8703bb7b3bcdd6dd336a230..b0d40fabd145be9e6bfdd4196b810ef625423920 100644
|
| --- a/chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller.mm
|
| @@ -20,7 +20,7 @@
|
| #include "chrome/browser/ui/fullscreen/fullscreen_controller.h"
|
| #include "chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.h"
|
| #include "chrome/grit/generated_resources.h"
|
| -#include "extensions/browser/extension_system.h"
|
| +#include "extensions/browser/extension_registry.h"
|
| #import "third_party/google_toolbox_for_mac/src/AppKit/GTMNSAnimation+Duration.h"
|
| #include "third_party/google_toolbox_for_mac/src/AppKit/GTMUILocalizerAndLayoutTweaker.h"
|
| #import "third_party/google_toolbox_for_mac/src/AppKit/GTMUILocalizerAndLayoutTweaker.h"
|
| @@ -258,10 +258,10 @@ const float kHideDuration = 0.7;
|
| - (NSString*)getLabelText {
|
| if (bubbleType_ == FEB_TYPE_NONE)
|
| return @"";
|
| - ExtensionService* extension_service = extensions::ExtensionSystem::Get(
|
| - browser_->profile())->extension_service();
|
| + extensions::ExtensionRegistry* registry =
|
| + extensions::ExtensionRegistry::Get(browser_->profile());
|
| return SysUTF16ToNSString(fullscreen_bubble::GetLabelTextForType(
|
| - bubbleType_, url_, extension_service));
|
| + bubbleType_, url_, registry));
|
| }
|
|
|
| // This looks at the Main Menu and determines what the user has set as the
|
|
|