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

Unified Diff: ui/views/controls/image_view.cc

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: DrawingDisplayItem 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
« no previous file with comments | « ui/views/controls/focusable_rounded_border_mac.cc ('k') | ui/views/controls/md_slider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/image_view.cc
diff --git a/ui/views/controls/image_view.cc b/ui/views/controls/image_view.cc
index 1a52d68ce29bdfccdb4455572081185d4ad07a19..22f0f98ef0e2f8854c782767ca44db0da99023c2 100644
--- a/ui/views/controls/image_view.cc
+++ b/ui/views/controls/image_view.cc
@@ -8,7 +8,7 @@
#include "base/logging.h"
#include "base/strings/utf_string_conversions.h"
-#include "third_party/skia/include/core/SkPaint.h"
+#include "cc/paint/paint_flags.h"
#include "ui/accessibility/ax_node_data.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/geometry/insets.h"
@@ -221,7 +221,7 @@ void ImageView::OnPaintImage(gfx::Canvas* canvas) {
if (image_bounds.size() != gfx::Size(image_.width(), image_.height())) {
// Resize case
- SkPaint paint;
+ cc::PaintFlags paint;
paint.setFilterQuality(kLow_SkFilterQuality);
canvas->DrawImageInt(image_, 0, 0, image_.width(), image_.height(),
image_bounds.x(), image_bounds.y(), image_bounds.width(),
« no previous file with comments | « ui/views/controls/focusable_rounded_border_mac.cc ('k') | ui/views/controls/md_slider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698