Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Unified Diff: remoting/base/resources_linux.cc

Issue 457103003: Merge ResourceBundle's InitSharedInstanceLocaleOnly with InitSharedInstanceWithLocale(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: REBASE Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/test/render_view_test.cc ('k') | remoting/base/resources_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/resources_linux.cc
diff --git a/remoting/base/resources_linux.cc b/remoting/base/resources_linux.cc
index d7d23ba3886b7364cb9b3656a667eeefc183d2b3..63a53f2b496438cab9e58165685a48afc9fbbc6a 100644
--- a/remoting/base/resources_linux.cc
+++ b/remoting/base/resources_linux.cc
@@ -31,7 +31,8 @@ bool LoadResources(const std::string& pref_locale) {
PathService::Override(ui::DIR_LOCALES,
path.AppendASCII(kLocaleResourcesDirName));
- ui::ResourceBundle::InitSharedInstanceLocaleOnly(pref_locale, NULL);
+ ui::ResourceBundle::InitSharedInstanceWithLocale(
+ pref_locale, NULL, ui::ResourceBundle::DO_NOT_LOAD_COMMON_RESOURCES);
}
return true;
« no previous file with comments | « content/public/test/render_view_test.cc ('k') | remoting/base/resources_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698