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

Unified Diff: third_party/WebKit/Source/platform/graphics/UnacceleratedStaticBitmapImage.h

Issue 2588103002: Simplify Image::isTextureBacked() (Closed)
Patch Set: rebase 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
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/graphics/UnacceleratedStaticBitmapImage.h
diff --git a/third_party/WebKit/Source/platform/graphics/UnacceleratedStaticBitmapImage.h b/third_party/WebKit/Source/platform/graphics/UnacceleratedStaticBitmapImage.h
index ebae528126d5f5d74841e3a2be46deaca7ff8e30..bc98cc39b9b5b533cffef00c0326b3355f7f6666 100644
--- a/third_party/WebKit/Source/platform/graphics/UnacceleratedStaticBitmapImage.h
+++ b/third_party/WebKit/Source/platform/graphics/UnacceleratedStaticBitmapImage.h
@@ -18,9 +18,6 @@ class PLATFORM_EXPORT UnacceleratedStaticBitmapImage final
bool currentFrameKnownToBeOpaque(MetadataMode = UseCurrentMetadata) override;
IntSize size() const override;
sk_sp<SkImage> imageForCurrentFrame(const ColorBehavior&) override;
- // In our current design, the SkImage in this class is always *not*
- // texture-backed.
- bool isTextureBacked() { return false; }
void draw(SkCanvas*,
const SkPaint&,
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698