diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-04 00:29:16 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-04 00:29:16 +0000 |
commit | fc2cdc1f00430d3dbfccc849b3053311e385fabb (patch) | |
tree | 09661b9b9719af1f0f9118bf45c13cb1b3ea766c /base/gfx | |
parent | 8b6384271101aa16e3764ba0c927426e7966ea91 (diff) | |
download | chromium_src-fc2cdc1f00430d3dbfccc849b3053311e385fabb.zip chromium_src-fc2cdc1f00430d3dbfccc849b3053311e385fabb.tar.gz chromium_src-fc2cdc1f00430d3dbfccc849b3053311e385fabb.tar.bz2 |
Fix tree breakage.
TBR=paulg
Review URL: http://codereview.chromium.org/9290
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4524 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/gfx')
-rw-r--r-- | base/gfx/rect.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/base/gfx/rect.cc b/base/gfx/rect.cc index fa81023..c86aa42 100644 --- a/base/gfx/rect.cc +++ b/base/gfx/rect.cc @@ -44,6 +44,10 @@ Rect::Rect(int x, int y, int width, int height) set_height(height); } +Rect::Rect(const gfx::Point& origin, const gfx::Size& size) + : origin_(origin), size_(size) { +} + #if defined(OS_WIN) Rect::Rect(const RECT& r) : origin_(r.left, r.top) { @@ -237,4 +241,3 @@ Point Rect::CenterPoint() const { } } // namespace gfx - |