diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-24 00:03:54 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-24 00:03:54 +0000 |
commit | 0664c0aac6a1c9c3c8d5039eb6c667a99e3bc18a (patch) | |
tree | 1ff544fb331bc3c46baab6332c4badfca21c2c63 /chrome/browser/icon_loader_linux.cc | |
parent | f1e9be8a7878107347317744409c6e57834fa7e2 (diff) | |
download | chromium_src-0664c0aac6a1c9c3c8d5039eb6c667a99e3bc18a.zip chromium_src-0664c0aac6a1c9c3c8d5039eb6c667a99e3bc18a.tar.gz chromium_src-0664c0aac6a1c9c3c8d5039eb6c667a99e3bc18a.tar.bz2 |
Enable SVG icons for linux.
get rid of kEnableSVG
BUG=12272
TEST=I made it load an svg for the download shelf and it worked. SVGZ did not work.
Review URL: http://codereview.chromium.org/159247
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21481 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/icon_loader_linux.cc')
-rw-r--r-- | chrome/browser/icon_loader_linux.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/icon_loader_linux.cc b/chrome/browser/icon_loader_linux.cc index e74afc2..05a4935 100644 --- a/chrome/browser/icon_loader_linux.cc +++ b/chrome/browser/icon_loader_linux.cc @@ -29,8 +29,7 @@ static int SizeToInt(IconLoader::IconSize size) { } void IconLoader::ReadIcon() { - int size = SizeToInt(icon_size_); - filename_ = mime_util::GetMimeIcon(group_, size); + filename_ = mime_util::GetMimeIcon(group_, SizeToInt(icon_size_)); file_util::ReadFileToString(filename_, &icon_data_); target_message_loop_->PostTask(FROM_HERE, NewRunnableMethod(this, &IconLoader::ParseIcon)); |