diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-14 20:32:40 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-14 20:32:40 +0000 |
commit | c5bc140792fcf8074f7a434a19045763e1175744 (patch) | |
tree | ac729b12d67c3b22a1b7bb495ade1c67d3c2e4a5 | |
parent | c69bbf973d97ab15cbe810c2ee7148db459d39c5 (diff) | |
download | chromium_src-c5bc140792fcf8074f7a434a19045763e1175744.zip chromium_src-c5bc140792fcf8074f7a434a19045763e1175744.tar.gz chromium_src-c5bc140792fcf8074f7a434a19045763e1175744.tar.bz2 |
Fix linux views build
BUG=none
TEST=buildbot
TBR=cbentzel
Review URL: http://codereview.chromium.org/1566043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44530 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/views/download_item_view.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/views/download_item_view.cc b/chrome/browser/views/download_item_view.cc index fbb0dd8..900c0cc 100644 --- a/chrome/browser/views/download_item_view.cc +++ b/chrome/browser/views/download_item_view.cc @@ -211,7 +211,7 @@ DownloadItemView::DownloadItemView(DownloadItem* download, dangerous_mode_body_image_set_ = dangerous_mode_body_image_set; LoadIcon(); - tooltip_text_ = download_->GetFileName().value(); + tooltip_text_ = download_->GetFileName().ToWStringHack(); font_ = ResourceBundle::GetSharedInstance().GetFont(ResourceBundle::BaseFont); box_height_ = std::max<int>(2 * kVerticalPadding + font_.height() + @@ -730,7 +730,7 @@ void DownloadItemView::ClearDangerousMode() { // We need to load the icon now that the download_ has the real path. LoadIcon(); - tooltip_text_ = download_->GetFileName().value(); + tooltip_text_ = download_->GetFileName().ToWStringHack(); // Force the shelf to layout again as our size has changed. parent_->Layout(); |