Searched refs:compareStops (Results 1 – 2 of 2) sorted by relevance
92 static inline bool compareStops(const Gradient::ColorStop& a, const Gradient::ColorStop& b) in compareStops() function107 std::stable_sort(m_stops.begin(), m_stops.end(), compareStops); in sortStopsIfNecessary()
80 static inline bool compareStops(const CSSGradientColorStop& a, const CSSGradientColorStop& b) in compareStops() function93 std::stable_sort(m_stops.begin(), m_stops.end(), compareStops); in sortStopsIfNeeded()