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

Unified Diff: src/core/SkPaintPriv.cpp

Issue 1127993004: Revert of Revert of Revert of Make drawImage a virtual on SkDevice (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 7 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 | « src/core/SkPaintPriv.h ('k') | src/core/SkPictureRecord.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkPaintPriv.cpp
diff --git a/src/core/SkPaintPriv.cpp b/src/core/SkPaintPriv.cpp
index 3ced57392934e1f5b6a5fbb993c9c7f7be9acab9..c6957cd1cafe29ba19b76937a3d10999c7680927 100644
--- a/src/core/SkPaintPriv.cpp
+++ b/src/core/SkPaintPriv.cpp
@@ -9,7 +9,6 @@
#include "SkBitmap.h"
#include "SkColorFilter.h"
-#include "SkImage.h"
#include "SkPaint.h"
#include "SkShader.h"
@@ -50,8 +49,3 @@
return isPaintOpaque(paint, contentType);
}
-
-bool isPaintOpaque(const SkPaint* paint, const SkImage* image) {
- return isPaintOpaque(paint, image->isOpaque() ?
- kOpaque_SkPaintBitmapOpacity : kUnknown_SkPaintBitmapOpacity);
-}
« no previous file with comments | « src/core/SkPaintPriv.h ('k') | src/core/SkPictureRecord.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698