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

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

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
« no previous file with comments | « cc/paint/paint_image.cc ('k') | third_party/WebKit/Source/platform/graphics/BitmapImage.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e72bdc063068bb59b75797a34e25829c8b122c04..14aafaf794c2e75517775efe2cb9a4a440b01ac6 100644
--- a/third_party/WebKit/Source/platform/DragImage.cpp
+++ b/third_party/WebKit/Source/platform/DragImage.cpp
@@ -124,7 +124,8 @@ PaintImage DragImage::ResizeAndOrientImage(
canvas->drawImage(image.sk_image(), 0, 0, &paint);
return PaintImage(image.stable_id(), surface->makeImageSnapshot(),
- image.animation_type(), image.completion_state());
+ image.animation_type(), image.completion_state(),
+ image.frame_count());
}
FloatSize DragImage::ClampedImageScale(const IntSize& image_size,
« no previous file with comments | « cc/paint/paint_image.cc ('k') | third_party/WebKit/Source/platform/graphics/BitmapImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698