| 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 31cfab305d4689448565811b2618f38a078a4b1f..94ad0a24cffc8d6be528af74b86785e81fc5966a 100644
|
| --- a/chrome/browser/ui/views/profiles/profile_chooser_view.cc
|
| +++ b/chrome/browser/ui/views/profiles/profile_chooser_view.cc
|
| @@ -44,7 +44,7 @@
|
| #include "third_party/skia/include/core/SkColor.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| #include "ui/base/resource/resource_bundle.h"
|
| -#include "ui/compositor/clip_transform_recorder.h"
|
| +#include "ui/compositor/clip_recorder.h"
|
| #include "ui/gfx/canvas.h"
|
| #include "ui/gfx/color_palette.h"
|
| #include "ui/gfx/image/canvas_image_source.h"
|
| @@ -328,8 +328,8 @@ 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);
|
| - clip_transform_recorder.ClipPathWithAntiAliasing(circular_mask_);
|
| + ui::ClipRecorder clip_recorder(context);
|
| + clip_recorder.ClipPathWithAntiAliasing(circular_mask_);
|
| View::PaintChildren(context);
|
| }
|
|
|
|
|