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..a576002dba7f12f1fe01a3398c937f4348ff1021 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(); |
- return SysUTF16ToNSString(fullscreen_bubble::GetLabelTextForType( |
- bubbleType_, url_, extension_service)); |
+ extensions::ExtensionRegistry* registry = |
+ extensions::ExtensionRegistry::Get(browser_->profile()); |
+ return SysUTF16ToNSString( |
+ fullscreen_bubble::GetLabelTextForType(bubbleType_, url_, registry)); |
} |
// This looks at the Main Menu and determines what the user has set as the |