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

Unified Diff: ui/views/bubble/tray_bubble_view.cc

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: Rebase Created 3 years, 11 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/views/bubble/tray_bubble_view.cc
diff --git a/ui/views/bubble/tray_bubble_view.cc b/ui/views/bubble/tray_bubble_view.cc
index 82723fd91da080d60d566a4e607dc3bbd4e6f14a..5d32ea1d364587997892cca8b57f9b37c18404c1 100644
--- a/ui/views/bubble/tray_bubble_view.cc
+++ b/ui/views/bubble/tray_bubble_view.cc
@@ -7,9 +7,9 @@
#include <algorithm>
#include "base/macros.h"
+#include "cc/paint/paint_flags.h"
#include "third_party/skia/include/core/SkCanvas.h"
#include "third_party/skia/include/core/SkColor.h"
-#include "third_party/skia/include/core/SkPaint.h"
#include "third_party/skia/include/core/SkPath.h"
#include "third_party/skia/include/effects/SkBlurImageFilter.h"
#include "ui/accessibility/ax_node_data.h"
@@ -113,9 +113,9 @@ TrayBubbleContentMask::~TrayBubbleContentMask() {
void TrayBubbleContentMask::OnPaintLayer(const ui::PaintContext& context) {
ui::PaintRecorder recorder(context, layer()->size());
- SkPaint paint;
+ cc::PaintFlags paint;
paint.setAlpha(255);
- paint.setStyle(SkPaint::kFill_Style);
+ paint.setStyle(cc::PaintFlags::kFill_Style);
gfx::Rect rect(layer()->bounds().size());
recorder.canvas()->DrawRoundRect(rect, corner_radius_, paint);
}

Powered by Google App Engine
This is Rietveld 408576698