Index: chrome/browser/views/download_shelf_view.cc |
diff --git a/chrome/browser/views/download_shelf_view.cc b/chrome/browser/views/download_shelf_view.cc |
index ff6346d0ea38a88564ce542eb35b98639ddb9552..d727d4360897f9f98d45c3df4699bba3db05797e 100644 |
--- a/chrome/browser/views/download_shelf_view.cc |
+++ b/chrome/browser/views/download_shelf_view.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -165,7 +165,7 @@ gfx::Size DownloadShelfView::GetPreferredSize() { |
prefsize.Enlarge(kDownloadPadding, 0); |
} |
prefsize.Enlarge(0, kTopBottomPadding + kTopBottomPadding); |
- if (shelf_animation_->IsAnimating()) { |
+ if (shelf_animation_->is_animating()) { |
prefsize.set_height(static_cast<int>( |
static_cast<double>(prefsize.height()) * |
shelf_animation_->GetCurrentValue())); |
@@ -252,7 +252,7 @@ void DownloadShelfView::Layout() { |
// Figure out width of item. |
int item_width = view_size.width(); |
- if (new_item_animation_->IsAnimating() && ri == download_views_.rbegin()) { |
+ if (new_item_animation_->is_animating() && ri == download_views_.rbegin()) { |
item_width = static_cast<int>(static_cast<double>(view_size.width()) * |
new_item_animation_->GetCurrentValue()); |
} |