| Index: chrome/browser/gtk/first_run_bubble.cc
|
| diff --git a/chrome/browser/gtk/first_run_bubble.cc b/chrome/browser/gtk/first_run_bubble.cc
|
| index e86df980464ae8145cc876ceb6bd6157b7880ffa..e169acaf3bbbc3eb7e0da48c8a5332b0bdeec8f2 100644
|
| --- a/chrome/browser/gtk/first_run_bubble.cc
|
| +++ b/chrome/browser/gtk/first_run_bubble.cc
|
| @@ -12,7 +12,7 @@
|
| #include "base/utf_string_conversions.h"
|
| #include "chrome/browser/gtk/gtk_theme_provider.h"
|
| #include "chrome/browser/options_window.h"
|
| -#include "chrome/browser/search_engines/template_url_model.h"
|
| +#include "chrome/browser/search_engines/util.h"
|
| #include "chrome/common/notification_service.h"
|
| #include "gfx/gtk_util.h"
|
| #include "grit/chromium_strings.h"
|
| @@ -28,19 +28,6 @@ const int kButtonPadding = 4;
|
|
|
| // Padding between content and edge of info bubble.
|
| const int kContentBorder = 7;
|
| -
|
| -string16 GetDefaultSearchEngineName(Profile* profile) {
|
| - if (!profile) {
|
| - NOTREACHED();
|
| - return string16();
|
| - }
|
| - const TemplateURL* const default_provider =
|
| - profile->GetTemplateURLModel()->GetDefaultSearchProvider();
|
| - if (!default_provider) {
|
| - return string16();
|
| - }
|
| - return WideToUTF16(default_provider->short_name());
|
| -}
|
| } // namespace
|
|
|
| // static
|
|
|