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

Unified Diff: Source/core/paint/ImagePainter.h

Issue 711163002: Don't anti-alias backgrounds of images. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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: Source/core/paint/ImagePainter.h
diff --git a/Source/core/paint/ImagePainter.h b/Source/core/paint/ImagePainter.h
index f3e2cedc31b151e44f818a47869f7d74ee1e178e..2831801fc0b14dbd54d380f4ecfd05bfab6676d6 100644
--- a/Source/core/paint/ImagePainter.h
+++ b/Source/core/paint/ImagePainter.h
@@ -17,9 +17,10 @@ class ImagePainter {
public:
ImagePainter(RenderImage& renderImage) : m_renderImage(renderImage) { }
- void paint(PaintInfo&, const LayoutPoint&);
- void paintReplaced(PaintInfo&, const LayoutPoint&);
- void paintIntoRect(GraphicsContext*, const LayoutRect&);
+ void paint(PaintInfo&, const LayoutPoint& paintOffset);
+ void paintReplaced(PaintInfo&, const LayoutPoint& paintOffset);
+ void paintIntoRect(GraphicsContext*, const LayoutRect& paintOffset);
+ void paintBoxDecorationBackground(PaintInfo&, const LayoutPoint& paintOffset);
private:
void paintAreaElementFocusRing(PaintInfo&);
« no previous file with comments | « LayoutTests/paint/images/image-backgrounds-not-antialiased-expected.html ('k') | Source/core/paint/ImagePainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698