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

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

Issue 11110004: Make gfx::Rect class operations consistently mutate the class they are called on. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: cc/ fixes Created 8 years, 2 months 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
« no previous file with comments | « chrome/browser/instant/instant_controller.cc ('k') | chrome/browser/ui/gtk/browser_toolbar_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f8451491ee7b385e2fdb782ea0ba2bd4218ddd75..4057eef542528dbf493139433cd6321e9df6b7aa 100644
--- a/chrome/browser/notifications/balloon_collection_impl.cc
+++ b/chrome/browser/notifications/balloon_collection_impl.cc
@@ -218,7 +218,7 @@ gfx::Rect BalloonCollectionImpl::GetBalloonsBoundingBox() const {
for (iter = balloons.begin(); iter != balloons.end(); ++iter) {
gfx::Rect balloon_box = gfx::Rect((*iter)->GetPosition(),
(*iter)->GetViewSize());
- bounds = bounds.Union(balloon_box);
+ bounds.Union(balloon_box);
}
return bounds;
« no previous file with comments | « chrome/browser/instant/instant_controller.cc ('k') | chrome/browser/ui/gtk/browser_toolbar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698