diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-16 19:45:24 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-16 19:45:24 +0000 |
commit | bafd54741093991a1f30082209c8d3a1bc2913f9 (patch) | |
tree | a2fd959ad99d8bec5742a71d29b801fa3bcd98a1 | |
parent | e452583e0c57660d364aca681146421895991dfd (diff) | |
download | chromium_src-bafd54741093991a1f30082209c8d3a1bc2913f9.zip chromium_src-bafd54741093991a1f30082209c8d3a1bc2913f9.tar.gz chromium_src-bafd54741093991a1f30082209c8d3a1bc2913f9.tar.bz2 |
fix unittest
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3475 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/views/view_unittest.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/views/view_unittest.cc b/chrome/views/view_unittest.cc index 0819d66..9599c34 100644 --- a/chrome/views/view_unittest.cc +++ b/chrome/views/view_unittest.cc @@ -115,7 +115,8 @@ class TestView : public View { last_clip_.setEmpty(); } - virtual void DidChangeBounds(const CRect& previous, const CRect& current); + virtual void DidChangeBounds(const gfx::Rect& previous, + const gfx::Rect& current); virtual void ViewHierarchyChanged(bool is_add, View *parent, View *child); virtual bool OnMousePressed(const MouseEvent& event); virtual bool OnMouseDragged(const MouseEvent& event); @@ -145,7 +146,8 @@ class TestView : public View { // DidChangeBounds //////////////////////////////////////////////////////////////////////////////// -void TestView::DidChangeBounds(const CRect& previous, const CRect& current) { +void TestView::DidChangeBounds(const gfx::Rect& previous, + const gfx::Rect& current) { did_change_bounds_ = true; previous_bounds_ = previous; new_bounds_ = current; |