| Index: Source/WebCore/platform/graphics/Gradient.cpp
|
| ===================================================================
|
| --- Source/WebCore/platform/graphics/Gradient.cpp (revision 95033)
|
| +++ Source/WebCore/platform/graphics/Gradient.cpp (working copy)
|
| @@ -124,10 +124,6 @@
|
| if (!m_stops.size())
|
| return;
|
|
|
| - // Shortcut for the ideal case (ordered 2-stop gradient)
|
| - if (m_stops.size() == 2 && compareStops(*m_stops.begin(), *m_stops.end()))
|
| - return;
|
| -
|
| std::stable_sort(m_stops.begin(), m_stops.end(), compareStops);
|
| }
|
|
|
|
|