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

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

Issue 2941533002: Break StyleImage dependency on LayoutObject (Closed)
Patch Set: Address reviewer comments 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/CSSGradientValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSGradientValue.h b/third_party/WebKit/Source/core/css/CSSGradientValue.h
index b3c26a8060e6d357e09a76d65a6a5e6267aabdd4..6407f0773fae70668dbf38d2c7343196964cec94 100644
--- a/third_party/WebKit/Source/core/css/CSSGradientValue.h
+++ b/third_party/WebKit/Source/core/css/CSSGradientValue.h
@@ -37,6 +37,7 @@ namespace blink {
class Color;
class Gradient;
class Document;
+class LayoutObject;
enum CSSGradientType {
kCSSDeprecatedLinearGradient,
@@ -87,7 +88,10 @@ namespace blink {
class CSSGradientValue : public CSSImageGeneratorValue {
public:
- PassRefPtr<Image> GetImage(const LayoutObject&, const IntSize&);
+ PassRefPtr<Image> GetImage(const ImageResourceObserver&,
+ const Document&,
+ const ComputedStyle&,
+ const IntSize&);
void AddStop(const CSSGradientColorStop& stop) {
stops_.push_back(stop);
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp ('k') | third_party/WebKit/Source/core/css/CSSGradientValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698