summaryrefslogtreecommitdiffstats
path: root/views/animation
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-15 19:05:30 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-15 19:05:30 +0000
commit7907e5920783b26ce467555d573691358fdc1b56 (patch)
treed9d9e728ba2ebe9bbeb89227c9c4114a86a09dd6 /views/animation
parent1116c19900c5d7219b3d3ebecd38a569d5db03f3 (diff)
downloadchromium_src-7907e5920783b26ce467555d573691358fdc1b56.zip
chromium_src-7907e5920783b26ce467555d573691358fdc1b56.tar.gz
chromium_src-7907e5920783b26ce467555d573691358fdc1b56.tar.bz2
Rename SchedulePaint(gfx::Rect..) to SchedulePaintInRect
http://crbug.com/72040 TEST=existing tests Review URL: http://codereview.chromium.org/6480076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74987 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/animation')
-rw-r--r--views/animation/bounds_animator.cc2
-rw-r--r--views/animation/bounds_animator_unittest.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/views/animation/bounds_animator.cc b/views/animation/bounds_animator.cc
index a517854..20a6616 100644
--- a/views/animation/bounds_animator.cc
+++ b/views/animation/bounds_animator.cc
@@ -236,7 +236,7 @@ void BoundsAnimator::AnimationContainerProgressed(
// Adjust for rtl.
repaint_bounds_.set_x(parent_->GetMirroredXWithWidthInView(
repaint_bounds_.x(), repaint_bounds_.width()));
- parent_->SchedulePaint(repaint_bounds_, false);
+ parent_->SchedulePaintInRect(repaint_bounds_, false);
repaint_bounds_.SetRect(0, 0, 0, 0);
}
diff --git a/views/animation/bounds_animator_unittest.cc b/views/animation/bounds_animator_unittest.cc
index ba4b93b..7dc0f37 100644
--- a/views/animation/bounds_animator_unittest.cc
+++ b/views/animation/bounds_animator_unittest.cc
@@ -75,7 +75,7 @@ bool OwnedDelegate::canceled_ = false;
class TestView : public views::View {
public:
TestView() {}
- virtual void SchedulePaint(const gfx::Rect& r, bool urgent) {
+ virtual void SchedulePaintInRect(const gfx::Rect& r, bool urgent) {
if (dirty_rect_.IsEmpty())
dirty_rect_ = r;
else