summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/icon_loader_linux.cc3
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));