diff options
author | Steve Block <steveblock@google.com> | 2010-09-29 17:32:26 +0100 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2010-09-29 17:35:08 +0100 |
commit | 68513a70bcd92384395513322f1b801e7bf9c729 (patch) | |
tree | 161b50f75a5921d61731bb25e730005994fcec85 /WebCore/platform/graphics/Gradient.h | |
parent | fd5c6425ce58eb75211be7718d5dee960842a37e (diff) | |
download | external_webkit-68513a70bcd92384395513322f1b801e7bf9c729.zip external_webkit-68513a70bcd92384395513322f1b801e7bf9c729.tar.gz external_webkit-68513a70bcd92384395513322f1b801e7bf9c729.tar.bz2 |
Merge WebKit at r67908: Initial merge by Git
Change-Id: I43a553e7b3299b28cb6ee8aa035ed70fe342b972
Diffstat (limited to 'WebCore/platform/graphics/Gradient.h')
-rw-r--r-- | WebCore/platform/graphics/Gradient.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/platform/graphics/Gradient.h b/WebCore/platform/graphics/Gradient.h index c4ac01b..0a69fa2 100644 --- a/WebCore/platform/graphics/Gradient.h +++ b/WebCore/platform/graphics/Gradient.h @@ -101,7 +101,7 @@ namespace WebCore { const FloatPoint& p1() const { return m_p1; } float r0() const { return m_r0; } float r1() const { return m_r1; } - const Vector<ColorStop>& getStops() const; + const Vector<ColorStop, 2>& getStops() const; #else #if PLATFORM(ANDROID) SkShader* getShader(SkShader::TileMode); @@ -150,7 +150,7 @@ namespace WebCore { FloatPoint m_p1; float m_r0; float m_r1; - mutable Vector<ColorStop> m_stops; + mutable Vector<ColorStop, 2> m_stops; mutable bool m_stopsSorted; mutable int m_lastStop; GradientSpreadMethod m_spreadMethod; |