summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/browser_main.cc2
-rw-r--r--chrome/browser/browser_main_mac.mm3
2 files changed, 0 insertions, 5 deletions
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc
index a3e5f8b..1509b24 100644
--- a/chrome/browser/browser_main.cc
+++ b/chrome/browser/browser_main.cc
@@ -461,8 +461,6 @@ int BrowserMain(const MainFunctionParams& parameters) {
if (!parameters.ui_task) {
ResourceBundle::InitSharedInstance(
local_state->GetString(prefs::kApplicationLocale));
- // We only load the theme dll in the browser process.
- ResourceBundle::GetSharedInstance().LoadThemeResources();
}
#endif // !defined(OS_MACOSX)
diff --git a/chrome/browser/browser_main_mac.mm b/chrome/browser/browser_main_mac.mm
index 8ed837f..ce5893b 100644
--- a/chrome/browser/browser_main_mac.mm
+++ b/chrome/browser/browser_main_mac.mm
@@ -42,9 +42,6 @@ void WillInitializeMainMessageLoop(const MainFunctionParams& parameters) {
// the strings avaiable for localization.
if (!parameters.ui_task) {
ResourceBundle::InitSharedInstance(std::wstring());
- // We only load the theme resources in the browser process, since this is
- // the browser process, load them.
- ResourceBundle::GetSharedInstance().LoadThemeResources();
}
// Now load the nib.
[NSBundle loadNibNamed:@"MainMenu" owner:NSApp];