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

Unified Diff: chrome/browser/icon_loader.cc

Issue 12230026: linux: Both gtk and the aura port should set the icon theme name. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes for thestig Created 7 years, 10 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 | « base/nix/mime_util_xdg.cc ('k') | chrome/browser/ui/gtk/gtk_theme_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/icon_loader.cc
diff --git a/chrome/browser/icon_loader.cc b/chrome/browser/icon_loader.cc
index 39919477640e6295c44c322b3f62171eea2c0556..d6dd947a1b784b9d9958b56829a5eed42ee9aec8 100644
--- a/chrome/browser/icon_loader.cc
+++ b/chrome/browser/icon_loader.cc
@@ -8,10 +8,6 @@
#include "base/bind.h"
#include "content/public/browser/browser_thread.h"
-#if defined(TOOLKIT_GTK)
-#include "base/nix/mime_util_xdg.h"
-#endif
-
using content::BrowserThread;
IconLoader::IconLoader(const IconGroupID& group, IconSize size,
@@ -29,11 +25,6 @@ IconLoader::~IconLoader() {
void IconLoader::Start() {
target_message_loop_ = base::MessageLoopProxy::current();
-#if defined(TOOLKIT_GTK)
- // This call must happen on the UI thread before we can start loading icons.
- base::nix::DetectGtkTheme();
-#endif
-
BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE,
base::Bind(&IconLoader::ReadIcon, this));
}
« no previous file with comments | « base/nix/mime_util_xdg.cc ('k') | chrome/browser/ui/gtk/gtk_theme_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698