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

Unified Diff: third_party/WebKit/Source/core/css/CSSImageGeneratorValue.h

Issue 1756763004: Merge image sizing algorithms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unused variable 'styleImage' in release Created 4 years, 9 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/css/CSSImageGeneratorValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSImageGeneratorValue.h b/third_party/WebKit/Source/core/css/CSSImageGeneratorValue.h
index f286127abb8c9b9bdf91afa543b32b8b9aebd980..029183445bdcc5a4fbf5238a1371b8f174f8a791 100644
--- a/third_party/WebKit/Source/core/css/CSSImageGeneratorValue.h
+++ b/third_party/WebKit/Source/core/css/CSSImageGeneratorValue.h
@@ -37,6 +37,7 @@ namespace blink {
class Document;
class Image;
class LayoutObject;
+class FloatSize;
struct SizeAndCount {
DISALLOW_NEW();
@@ -61,7 +62,7 @@ public:
PassRefPtr<Image> image(const LayoutObject*, const IntSize&);
bool isFixedSize() const;
- IntSize fixedSize(const LayoutObject*);
+ IntSize fixedSize(const LayoutObject*, const FloatSize& defaultObjectSize);
bool isPending() const;
bool knownToBeOpaque(const LayoutObject*) const;

Powered by Google App Engine
This is Rietveld 408576698