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

Unified Diff: ui/message_center/views/bounded_label.cc

Issue 265713007: views: Update event-related API to use PointF/RectF instead of Point/Rect. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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
Index: ui/message_center/views/bounded_label.cc
diff --git a/ui/message_center/views/bounded_label.cc b/ui/message_center/views/bounded_label.cc
index 9a39fb55bbef54da6052f4246dda459352e76651..502e338e7f6ae1607bec93c0d3233bf455acfdd1 100644
--- a/ui/message_center/views/bounded_label.cc
+++ b/ui/message_center/views/bounded_label.cc
@@ -328,7 +328,7 @@ void BoundedLabel::Paint(gfx::Canvas* canvas) {
label_->Paint(canvas);
}
-bool BoundedLabel::HitTestRect(const gfx::Rect& rect) const {
+bool BoundedLabel::HitTestRect(const gfx::RectF& rect) const {
return label_->HitTestRect(rect);
}

Powered by Google App Engine
This is Rietveld 408576698