summaryrefslogtreecommitdiffstats
path: root/chrome/common/common_glue.cc
diff options
context:
space:
mode:
authorevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-21 20:50:39 +0000
committerevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-21 20:50:39 +0000
commit933cc00eb856db684b9e64b7486ca20edbb2c3ea (patch)
treec7be5057c42ffb82e38d6fc421c0be524a2af7a1 /chrome/common/common_glue.cc
parentd232c09f2584c80b6fde6b987fac32c8de57bfd7 (diff)
downloadchromium_src-933cc00eb856db684b9e64b7486ca20edbb2c3ea.zip
chromium_src-933cc00eb856db684b9e64b7486ca20edbb2c3ea.tar.gz
chromium_src-933cc00eb856db684b9e64b7486ca20edbb2c3ea.tar.bz2
Port some files in chrome/common to Linux.
BUG=3649 Review URL: http://codereview.chromium.org/10255 Patch from Paweł Hajdan jr <phajdan.jr@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5848 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/common_glue.cc')
-rw-r--r--chrome/common/common_glue.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/common_glue.cc b/chrome/common/common_glue.cc
index 30b1e4f..6c33f1e 100644
--- a/chrome/common/common_glue.cc
+++ b/chrome/common/common_glue.cc
@@ -6,7 +6,7 @@
#include "base/path_service.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/chrome_switches.h"
-#include "chrome/common/resource_bundle.h"
+#include "chrome/common/l10n_util.h"
#include "chrome/plugin/npobject_util.h"
#include "googleurl/src/url_util.h"
#include "webkit/glue/webkit_glue.h"
@@ -39,7 +39,7 @@ std::wstring GetWebKitLocale() {
}
std::wstring GetLocalizedString(int message_id) {
- return ResourceBundle::GetSharedInstance().GetLocalizedString(message_id);
+ return l10n_util::GetString(message_id);
}
} // namespace webkit_glue