Home
last modified time | relevance | path

Searched refs:unspecifiedRunStart (Results 1 – 1 of 1) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSGradientValue.cpp230 size_t unspecifiedRunStart = 0; in addStops() local
235 unspecifiedRunStart = i; in addStops()
240 if (unspecifiedRunStart < unspecifiedRunEnd) { in addStops()
241 float lastSpecifiedOffset = stops[unspecifiedRunStart - 1].offset; in addStops()
243 …elta = (nextSpecifiedOffset - lastSpecifiedOffset) / (unspecifiedRunEnd - unspecifiedRunStart + 1); in addStops()
245 for (size_t j = unspecifiedRunStart; j < unspecifiedRunEnd; ++j) in addStops()
246 … stops[j].offset = lastSpecifiedOffset + (j - unspecifiedRunStart + 1) * delta; in addStops()