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

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

Issue 2880813002: Revert of Add stable id to PaintImage. (Closed)
Patch Set: 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 ef4ae53ba5378416003a81b047ea68a704cc9806..78502c393c1ca5284ec0b348444d5198e5ec52b6 100644
--- a/third_party/WebKit/Source/platform/DragImage.cpp
+++ b/third_party/WebKit/Source/platform/DragImage.cpp
@@ -115,8 +115,8 @@
canvas->concat(AffineTransformToSkMatrix(transform));
canvas->drawImage(image.sk_image(), 0, 0, &paint);
- return PaintImage(image.stable_id(), surface->makeImageSnapshot(),
- image.animation_type(), image.completion_state());
+ return PaintImage(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