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

Unified Diff: third_party/WebKit/Source/core/paint/NinePieceImagePainter.cpp

Issue 2847303002: Remove unnecessary zoom argument from GetImage() as its value is always available through the Layou… (Closed)
Patch Set: (rebased) 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/core/paint/NinePieceImagePainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/NinePieceImagePainter.cpp b/third_party/WebKit/Source/core/paint/NinePieceImagePainter.cpp
index c1d8a83ab00d2e3a06a382a4bb7bec2d20e693c8..93daa2436905623a520a2cf1378cd15a99287fed 100644
--- a/third_party/WebKit/Source/core/paint/NinePieceImagePainter.cpp
+++ b/third_party/WebKit/Source/core/paint/NinePieceImagePainter.cpp
@@ -63,8 +63,7 @@ bool NinePieceImagePainter::Paint(GraphicsContext& graphics_context,
PixelSnappedIntRect(border_image_rect),
border_widths);
- RefPtr<Image> image =
- style_image->GetImage(layout_object_, image_size, style.EffectiveZoom());
+ RefPtr<Image> image = style_image->GetImage(layout_object_, image_size);
InterpolationQuality interpolation_quality =
BoxPainter::ChooseInterpolationQuality(layout_object_, image.Get(), 0,
« no previous file with comments | « third_party/WebKit/Source/core/paint/ListMarkerPainter.cpp ('k') | third_party/WebKit/Source/core/paint/SVGImagePainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698