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

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

Issue 1470123002: Split ClipTransformRecorder into {Clip,Transform}Recorder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 16412db0802e358bdb2c1ede32304da272241f02..3f9943dfc9c1b9f96ce4d143477bbc25b81e0a2c 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);
}

Powered by Google App Engine
This is Rietveld 408576698