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

Unified Diff: Source/core/svg/graphics/SVGImageForContainer.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/svg/graphics/SVGImageForContainer.h ('k') | Source/web/WebImageSkia.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/graphics/SVGImageForContainer.cpp
===================================================================
--- Source/core/svg/graphics/SVGImageForContainer.cpp (revision 162906)
+++ Source/core/svg/graphics/SVGImageForContainer.cpp (working copy)
@@ -43,9 +43,9 @@
m_image->drawPatternForContainer(context, m_containerSize, m_zoom, srcRect, scale, phase, compositeOp, dstRect, blendMode, repeatSpacing);
}
-PassRefPtr<NativeImageSkia> SVGImageForContainer::nativeImageForCurrentFrame()
+PassRefPtr<NativeImageSkia> SVGImageForContainer::nativeImageForCurrentFrame(ScaleHint hint)
{
- return m_image->nativeImageForCurrentFrame();
+ return m_image->nativeImageForCurrentFrame(hint);
}
} // namespace WebCore
« no previous file with comments | « Source/core/svg/graphics/SVGImageForContainer.h ('k') | Source/web/WebImageSkia.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698