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

Unified Diff: third_party/WebKit/Source/platform/DragImage.cpp

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 | « third_party/WebKit/Source/platform/BUILD.gn ('k') | third_party/WebKit/Source/platform/DragImageTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/DragImage.cpp
diff --git a/third_party/WebKit/Source/platform/DragImage.cpp b/third_party/WebKit/Source/platform/DragImage.cpp
index ff095132d600bab6628d4bf82c7b6fcbba41bfff..f8330d76f087e250d84685407d7b7bfd59a118f6 100644
--- a/third_party/WebKit/Source/platform/DragImage.cpp
+++ b/third_party/WebKit/Source/platform/DragImage.cpp
@@ -259,7 +259,7 @@ std::unique_ptr<DragImage> DragImage::create(const KURL& url,
const float DragLabelRadius = 5;
IntRect rect(IntPoint(), imageSize);
- SkPaint backgroundPaint;
+ PaintFlags backgroundPaint;
backgroundPaint.setColor(SkColorSetRGB(140, 140, 140));
backgroundPaint.setAntiAlias(true);
SkRRect rrect;
@@ -268,7 +268,7 @@ std::unique_ptr<DragImage> DragImage::create(const KURL& url,
buffer->canvas()->drawRRect(rrect, backgroundPaint);
// Draw the text
- SkPaint textPaint;
+ PaintFlags textPaint;
if (drawURLString) {
if (clipURLString)
urlString = StringTruncator::centerTruncate(
« no previous file with comments | « third_party/WebKit/Source/platform/BUILD.gn ('k') | third_party/WebKit/Source/platform/DragImageTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698