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

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

Issue 2873003002: Add stable id to PaintImage. (Closed)
Patch Set: update 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 78502c393c1ca5284ec0b348444d5198e5ec52b6..ef4ae53ba5378416003a81b047ea68a704cc9806 100644
--- a/third_party/WebKit/Source/platform/DragImage.cpp
+++ b/third_party/WebKit/Source/platform/DragImage.cpp
@@ -115,8 +115,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,

Powered by Google App Engine
This is Rietveld 408576698