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

Unified Diff: third_party/WebKit/Source/core/paint/BoxPainter.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/BoxPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/BoxPainter.cpp b/third_party/WebKit/Source/core/paint/BoxPainter.cpp
index b3f7cb9bda3baed0a275fdff02785220df313578..7eae8c157936611ff814dc04d39c47a8de254048 100644
--- a/third_party/WebKit/Source/core/paint/BoxPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/BoxPainter.cpp
@@ -442,8 +442,7 @@ class ImagePaintContext {
const LayoutObject& image_client =
background_object ? *background_object : obj;
- image_ = style_image.GetImage(image_client, FlooredIntSize(container_size),
- obj.Style()->EffectiveZoom());
+ image_ = style_image.GetImage(image_client, FlooredIntSize(container_size));
interpolation_quality_ = BoxPainter::ChooseInterpolationQuality(
image_client, image_.Get(), &layer, container_size);

Powered by Google App Engine
This is Rietveld 408576698