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

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

Issue 2523673004: [NOT FOR COMMIT] Fully replace SkCanvas uses.
Patch Set: Support Android build. Created 4 years 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: 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 d3e2316b7d9d07b321510422282b33c21bbcdf0f..3a1f10dcdd07932599f55d2823c26c6beedc0f44 100644
--- a/third_party/WebKit/Source/platform/DragImage.cpp
+++ b/third_party/WebKit/Source/platform/DragImage.cpp
@@ -255,7 +255,7 @@ std::unique_ptr<DragImage> DragImage::create(const KURL& url,
const float DragLabelRadius = 5;
IntRect rect(IntPoint(), imageSize);
- SkPaint backgroundPaint;
+ CdlPaint backgroundPaint;
backgroundPaint.setColor(SkColorSetRGB(140, 140, 140));
backgroundPaint.setAntiAlias(true);
SkRRect rrect;
@@ -264,7 +264,7 @@ std::unique_ptr<DragImage> DragImage::create(const KURL& url,
buffer->canvas()->drawRRect(rrect, backgroundPaint);
// Draw the text
- SkPaint textPaint;
+ CdlPaint textPaint;
if (drawURLString) {
if (clipURLString)
urlString = StringTruncator::centerTruncate(

Powered by Google App Engine
This is Rietveld 408576698