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

Unified Diff: third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.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
Index: third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.h
diff --git a/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.h b/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.h
index ae160a16e329f0ca2d1f3b3e0f36b1e7d34e5650..939fd4301b842edd49ef1ca7b0ee619ea128f964 100644
--- a/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.h
+++ b/third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.h
@@ -39,7 +39,7 @@ class PLATFORM_EXPORT AcceleratedStaticBitmapImage final
bool currentFrameKnownToBeOpaque(MetadataMode = UseCurrentMetadata) override;
IntSize size() const override;
sk_sp<SkImage> imageForCurrentFrame(const ColorBehavior&) override;
- bool isTextureBacked() final { return true; }
+ bool isTextureBacked() const override { return true; }
void draw(SkCanvas*,
const SkPaint&,

Powered by Google App Engine
This is Rietveld 408576698