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

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

Issue 2754703003: Remove Gradient point/radius setters (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSGradientValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0fcead9f22278a7c075c6d088f2c29242e3f89e2..19967defb305c38cd009ce57666c2c80a8889fda 100644
--- a/third_party/WebKit/Source/core/css/CSSGradientValue.h
+++ b/third_party/WebKit/Source/core/css/CSSGradientValue.h
@@ -114,6 +114,8 @@ class CSSGradientValue : public CSSImageGeneratorValue {
DECLARE_TRACE_AFTER_DISPATCH();
+ struct GradientDesc;
+
protected:
CSSGradientValue(ClassType classType,
CSSGradientRepeat repeat,
@@ -123,10 +125,10 @@ class CSSGradientValue : public CSSImageGeneratorValue {
m_gradientType(gradientType),
m_repeating(repeat == Repeating) {}
- void addStops(Gradient*,
+ void addStops(GradientDesc&,
const CSSToLengthConversionData&,
const LayoutObject&);
- void addDeprecatedStops(Gradient*, const LayoutObject&);
+ void addDeprecatedStops(GradientDesc&, const LayoutObject&);
// Resolve points/radii to front end values.
FloatPoint computeEndPoint(CSSValue*,
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSGradientValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698