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

Unified Diff: Source/core/platform/graphics/BitmapImage.cpp

Issue 105363002: Make SVG images for custom CSS cursors appear sharp on retina displays (Closed) Base URL: http://src.chromium.org/blink/trunk/
Patch Set: Created 7 years 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 | « Source/core/platform/graphics/BitmapImage.h ('k') | Source/core/platform/graphics/Image.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/graphics/BitmapImage.cpp
===================================================================
--- Source/core/platform/graphics/BitmapImage.cpp (revision 162906)
+++ Source/core/platform/graphics/BitmapImage.cpp (working copy)
@@ -350,7 +350,7 @@
return m_source.frameDurationAtIndex(index);
}
-PassRefPtr<NativeImageSkia> BitmapImage::nativeImageForCurrentFrame()
+PassRefPtr<NativeImageSkia> BitmapImage::nativeImageForCurrentFrame(ScaleHint hint)
{
return frameAtIndex(currentFrame());
}
« no previous file with comments | « Source/core/platform/graphics/BitmapImage.h ('k') | Source/core/platform/graphics/Image.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698