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

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

Issue 2941533002: Break StyleImage dependency on LayoutObject (Closed)
Patch Set: Rebase w/HEAD Created 3 years, 6 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/CSSCrossfadeValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSCrossfadeValue.h b/third_party/WebKit/Source/core/css/CSSCrossfadeValue.h
index f91cb6f27b7b9ba5b34bf4e218cfc44e92688227..580551c77dcf2db578adb6a5a3f165cdbf4fe687 100644
--- a/third_party/WebKit/Source/core/css/CSSCrossfadeValue.h
+++ b/third_party/WebKit/Source/core/css/CSSCrossfadeValue.h
@@ -36,7 +36,6 @@
namespace blink {
class CrossfadeSubimageObserverProxy;
-class LayoutObject;
class CORE_EXPORT CSSCrossfadeValue final : public CSSImageGeneratorValue {
friend class CrossfadeSubimageObserverProxy;
@@ -53,7 +52,10 @@ class CORE_EXPORT CSSCrossfadeValue final : public CSSImageGeneratorValue {
String CustomCSSText() const;
- PassRefPtr<Image> GetImage(const LayoutObject&, const IntSize&);
+ PassRefPtr<Image> GetImage(const ImageResourceObserver&,
+ const Document&,
+ const ComputedStyle&,
+ const IntSize& container_size);
bool IsFixedSize() const { return true; }
IntSize FixedSize(const Document&, const FloatSize&);

Powered by Google App Engine
This is Rietveld 408576698