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

Unified Diff: chrome/browser/ui/views/profiles/profile_chooser_view.cc

Issue 1423653005: Further plumb visual rect into cc:DisplayItemList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment per danakj. Created 5 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/ui/views/profiles/profile_chooser_view.cc
diff --git a/chrome/browser/ui/views/profiles/profile_chooser_view.cc b/chrome/browser/ui/views/profiles/profile_chooser_view.cc
index 7338cbccf2da1d9fda40de9836f9eb935f37d0ab..cbf4ab8107c2314079033c967306d24fec1aafc8 100644
--- a/chrome/browser/ui/views/profiles/profile_chooser_view.cc
+++ b/chrome/browser/ui/views/profiles/profile_chooser_view.cc
@@ -328,7 +328,7 @@ class EditableProfilePhoto : public views::LabelButton {
void PaintChildren(const ui::PaintContext& context) override {
// Display any children (the "change photo" overlay) as a circle.
- ui::ClipTransformRecorder clip_transform_recorder(context);
+ ui::ClipTransformRecorder clip_transform_recorder(context, size());
clip_transform_recorder.ClipPathWithAntiAliasing(circular_mask_);
View::PaintChildren(context);
}

Powered by Google App Engine
This is Rietveld 408576698