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

Unified Diff: third_party/WebKit/Source/core/style/StyleGeneratedImage.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/style/StyleGeneratedImage.cpp
diff --git a/third_party/WebKit/Source/core/style/StyleGeneratedImage.cpp b/third_party/WebKit/Source/core/style/StyleGeneratedImage.cpp
index 104a8b70e1d27aae40c3927e42ee6d25ceb12bc8..ecacc85cdd3e66f396efcd6ec6c1718b3533a496 100644
--- a/third_party/WebKit/Source/core/style/StyleGeneratedImage.cpp
+++ b/third_party/WebKit/Source/core/style/StyleGeneratedImage.cpp
@@ -69,9 +69,8 @@ void StyleGeneratedImage::RemoveClient(LayoutObject* layout_object) {
PassRefPtr<Image> StyleGeneratedImage::GetImage(
const LayoutObject& layout_object,
- const IntSize& size,
- float zoom) const {
- return image_generator_value_->GetImage(layout_object, size, zoom);
+ const IntSize& size) const {
+ return image_generator_value_->GetImage(layout_object, size);
}
bool StyleGeneratedImage::KnownToBeOpaque(
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleGeneratedImage.h ('k') | third_party/WebKit/Source/core/style/StyleImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698