| Index: chrome/browser/notifications/balloon_collection_linux.cc
|
| ===================================================================
|
| --- chrome/browser/notifications/balloon_collection_linux.cc (revision 66634)
|
| +++ chrome/browser/notifications/balloon_collection_linux.cc (working copy)
|
| @@ -46,10 +46,11 @@
|
| }
|
|
|
| bool BalloonCollectionImpl::IsCursorInBalloonCollection() const {
|
| - if (balloons_.empty())
|
| + const Balloons& balloons = base_.balloons();
|
| + if (balloons.empty())
|
| return false;
|
|
|
| - gfx::Point upper_left = balloons_[balloons_.size() - 1]->GetPosition();
|
| + gfx::Point upper_left = balloons[balloons.size() - 1]->GetPosition();
|
| gfx::Point lower_right = layout_.GetLayoutOrigin();
|
|
|
| gfx::Rect bounds = gfx::Rect(upper_left.x(),
|
|
|