Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2655)

Unified Diff: chrome/browser/notifications/balloon_collection_win.cc

Issue 4635007: When an extension is uninstalled, close all desktop notifications from that e... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/notifications/balloon_collection_win.cc
===================================================================
--- chrome/browser/notifications/balloon_collection_win.cc (revision 66634)
+++ chrome/browser/notifications/balloon_collection_win.cc (working copy)
@@ -44,10 +44,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(),
« no previous file with comments | « chrome/browser/notifications/balloon_collection_linux.cc ('k') | chrome/browser/notifications/desktop_notification_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698