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

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

Issue 2873003002: Add stable id to PaintImage. (Closed)
Patch Set: rebase Created 3 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
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 eec7f8cf360bfdf5e4e759a2f81a2119693782cc..9a6e8e5c90e23131109ed85ae5c39a659545e3b3 100644
--- a/third_party/WebKit/Source/platform/DragImage.cpp
+++ b/third_party/WebKit/Source/platform/DragImage.cpp
@@ -116,8 +116,8 @@ PaintImage DragImage::ResizeAndOrientImage(
canvas->concat(AffineTransformToSkMatrix(transform));
canvas->drawImage(image.sk_image(), 0, 0, &paint);
- return PaintImage(surface->makeImageSnapshot(), image.animation_type(),
- image.completion_state());
+ return PaintImage(image.stable_id(), surface->makeImageSnapshot(),
+ image.animation_type(), image.completion_state());
}
FloatSize DragImage::ClampedImageScale(const IntSize& image_size,
« no previous file with comments | « media/renderers/skcanvas_video_renderer.cc ('k') | third_party/WebKit/Source/platform/graphics/DeferredImageDecoderTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698