Chromium Code Reviews| Index: chrome/browser/notifications/balloon_collection_impl.cc |
| diff --git a/chrome/browser/notifications/balloon_collection_impl.cc b/chrome/browser/notifications/balloon_collection_impl.cc |
| index 4057eef542528dbf493139433cd6321e9df6b7aa..056abdf7014085d2d8ee25e49fb1cc8354f4956c 100644 |
| --- a/chrome/browser/notifications/balloon_collection_impl.cc |
| +++ b/chrome/browser/notifications/balloon_collection_impl.cc |
| @@ -137,7 +137,7 @@ void BalloonCollectionImpl::OnBalloonClosed(Balloon* source) { |
| Balloons::const_iterator it = balloons.begin(); |
| if (layout_.RequiresOffsets()) { |
| - gfx::Point offset; |
| + gfx::Vector2d offset; |
| bool apply_offset = false; |
| while (it != balloons.end()) { |
| if (*it == source) { |
| @@ -249,7 +249,7 @@ void BalloonCollectionImpl::CancelOffsets() { |
| for (Balloons::const_iterator it = balloons.begin(); |
| it != balloons.end(); |
| ++it) |
| - (*it)->set_offset(gfx::Point(0, 0)); |
| + (*it)->set_offset(gfx::Vector2d(0, 0)); |
|
Peter Kasting
2012/10/27 01:01:39
Nit: 0, 0 can be removed
danakj
2012/10/29 19:17:20
Done.
|
| PositionBalloons(true); |
| } |