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

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

Issue 2883593002: Add frame count to paint image. (Closed)
Patch Set: rebase Created 3 years, 6 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
Index: third_party/WebKit/Source/platform/graphics/BitmapImage.h
diff --git a/third_party/WebKit/Source/platform/graphics/BitmapImage.h b/third_party/WebKit/Source/platform/graphics/BitmapImage.h
index d73e2a742f8ce622c2ca55a01c7420e6d3dda458..e93ed07e54be4702a3a48532a1664f30c704dc71 100644
--- a/third_party/WebKit/Source/platform/graphics/BitmapImage.h
+++ b/third_party/WebKit/Source/platform/graphics/BitmapImage.h
@@ -88,6 +88,7 @@ class PLATFORM_EXPORT BitmapImage final : public Image {
bool CurrentFrameKnownToBeOpaque(MetadataMode = kUseCurrentMetadata) override;
bool CurrentFrameIsComplete() override;
bool CurrentFrameIsLazyDecoded() override;
+ size_t FrameCount() override;
ImageOrientation CurrentFrameOrientation();
@@ -118,7 +119,6 @@ class PLATFORM_EXPORT BitmapImage final : public Image {
ImageClampingMode) override;
size_t CurrentFrame() const { return current_frame_; }
- size_t FrameCount();
sk_sp<SkImage> FrameAtIndex(size_t);
« no previous file with comments | « third_party/WebKit/Source/platform/DragImage.cpp ('k') | third_party/WebKit/Source/platform/graphics/Image.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698