summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browser.cc')
-rw-r--r--chrome/browser/browser.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index 13ca661..d6a51ab 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -284,9 +284,12 @@ void Browser::CreateBrowserWindow() {
return;
if (local_state->IsPrefRegistered(prefs::kShouldShowFirstRunBubble) &&
local_state->GetBoolean(prefs::kShouldShowFirstRunBubble)) {
+ bool show_OEM_bubble = (local_state->
+ IsPrefRegistered(prefs::kShouldUseOEMFirstRunBubble) &&
+ local_state->GetBoolean(prefs::kShouldUseOEMFirstRunBubble));
// Reset the preference so we don't show the bubble for subsequent windows.
local_state->ClearPref(prefs::kShouldShowFirstRunBubble);
- window_->GetLocationBar()->ShowFirstRunBubble();
+ window_->GetLocationBar()->ShowFirstRunBubble(show_OEM_bubble);
}
FindBar* find_bar = BrowserWindow::CreateFindBar(this);