summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/gtk_util.cc4
-rw-r--r--app/l10n_util_unittest.cc4
2 files changed, 4 insertions, 4 deletions
diff --git a/app/gtk_util.cc b/app/gtk_util.cc
index 63fa96a..98e5d48 100644
--- a/app/gtk_util.cc
+++ b/app/gtk_util.cc
@@ -7,7 +7,7 @@
#include <gtk/gtk.h>
#include "app/l10n_util.h"
-#include "base/env_var.h"
+#include "base/environment.h"
#include "base/logging.h"
#include "base/string_number_conversions.h"
#include "base/xdg_util.h"
@@ -77,7 +77,7 @@ void GetWidgetSizeFromCharacters(
void ApplyMessageDialogQuirks(GtkWidget* dialog) {
if (gtk_window_get_modal(GTK_WINDOW(dialog))) {
// Work around a KDE 3 window manager bug.
- scoped_ptr<base::EnvVarGetter> env(base::EnvVarGetter::Create());
+ scoped_ptr<base::Environment> env(base::Environment::Create());
if (base::DESKTOP_ENVIRONMENT_KDE3 == GetDesktopEnvironment(env.get()))
gtk_window_set_skip_taskbar_hint(GTK_WINDOW(dialog), FALSE);
}
diff --git a/app/l10n_util_unittest.cc b/app/l10n_util_unittest.cc
index 58d0a98f..8d26b92 100644
--- a/app/l10n_util_unittest.cc
+++ b/app/l10n_util_unittest.cc
@@ -15,7 +15,7 @@
#include "app/test/data/resource.h"
#endif
#include "base/basictypes.h"
-#include "base/env_var.h"
+#include "base/environment.h"
#include "base/file_util.h"
#include "base/path_service.h"
#include "base/stl_util-inl.h"
@@ -139,7 +139,7 @@ TEST_F(L10nUtilTest, GetAppLocale) {
icu::Locale locale = icu::Locale::getDefault();
#if defined(OS_POSIX) && !defined(OS_CHROMEOS)
- scoped_ptr<base::EnvVarGetter> env(base::EnvVarGetter::Create());
+ scoped_ptr<base::Environment> env(base::Environment::Create());
// Test the support of LANGUAGE environment variable.
SetICUDefaultLocale("en-US");