| 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 d970d36ff85de1866701287299e3ba21d1fc544c..f6424e993fc5e03fc667b011dafb1bf3f03cdbb0 100644
|
| --- a/chrome/browser/ui/views/profiles/profile_chooser_view.cc
|
| +++ b/chrome/browser/ui/views/profiles/profile_chooser_view.cc
|
| @@ -345,10 +345,10 @@ class EditableProfilePhoto : public views::LabelButton {
|
| SetEnabled(false);
|
| }
|
|
|
| - void PaintChildren(const ui::PaintContext& context) override {
|
| + void PaintChildren(const ui::PaintInfo& paint_info) override {
|
| {
|
| // Display any children (the "change photo" overlay) as a circle.
|
| - ui::ClipRecorder clip_recorder(context);
|
| + ui::ClipRecorder clip_recorder(paint_info.context());
|
| gfx::Rect clip_bounds = image()->GetMirroredBounds();
|
| gfx::Path clip_mask;
|
| clip_mask.addCircle(
|
| @@ -356,7 +356,7 @@ class EditableProfilePhoto : public views::LabelButton {
|
| clip_bounds.y() + clip_bounds.height() / 2,
|
| clip_bounds.width() / 2);
|
| clip_recorder.ClipPathWithAntiAliasing(clip_mask);
|
| - View::PaintChildren(context);
|
| + View::PaintChildren(paint_info);
|
| }
|
|
|
| ui::PaintRecorder paint_recorder(
|
|
|