summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/task_manager_gtk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/gtk/task_manager_gtk.cc')
-rw-r--r--chrome/browser/gtk/task_manager_gtk.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/gtk/task_manager_gtk.cc b/chrome/browser/gtk/task_manager_gtk.cc
index 4563e2d..4532a03 100644
--- a/chrome/browser/gtk/task_manager_gtk.cc
+++ b/chrome/browser/gtk/task_manager_gtk.cc
@@ -24,6 +24,7 @@
#include "chrome/common/gtk_util.h"
#include "chrome/common/pref_names.h"
#include "chrome/common/pref_service.h"
+#include "chrome/common/url_constants.h"
#include "grit/app_resources.h"
#include "grit/chromium_strings.h"
@@ -494,7 +495,7 @@ void TaskManagerGtk::CreateTaskManagerTreeview() {
TreeViewColumnSetVisible(treeview_, kTaskManagerPrivateMem, false);
TreeViewColumnSetVisible(treeview_, kTaskManagerProcessID, false);
TreeViewColumnSetVisible(treeview_, kTaskManagerGoatsTeleported, false);
-
+
g_object_unref(process_list_);
g_object_unref(process_list_sort_);
}
@@ -617,7 +618,7 @@ void TaskManagerGtk::ActivateFocusedTab() {
void TaskManagerGtk::OnLinkActivated() {
Browser* browser = BrowserList::GetLastActive();
DCHECK(browser);
- browser->OpenURL(GURL("about:memory"), GURL(), NEW_FOREGROUND_TAB,
+ browser->OpenURL(GURL(chrome::kAboutMemoryURL), GURL(), NEW_FOREGROUND_TAB,
PageTransition::LINK);
// In case the browser window is minimzed, show it. If this is an application
// or popup, we can only have one tab, hence we need to process this in a