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

Unified Diff: app/gtk_util.cc

Issue 3052034: base: Rename EnvVarGetter to Environment. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: review Created 10 years, 5 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 | « no previous file | app/l10n_util_unittest.cc » ('j') | base/environment.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/gtk_util.cc
diff --git a/app/gtk_util.cc b/app/gtk_util.cc
index 63fa96a8eccdf306985e0e8a2e67b2b217c2921f..98e5d48186df94ed64c1cffef1ed87042f6e75fe 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);
}
« no previous file with comments | « no previous file | app/l10n_util_unittest.cc » ('j') | base/environment.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698