Style cleanup on the cursor classes used by RenderStyle.
Created attachment 52986 [details] Patch
Comment on attachment 52986 [details] Patch > void RenderStyle::addCursor(CachedImage* image, const IntPoint& hotSpot) > { > - CursorData data; > - data.cursorImage = image; > - data.hotSpot = hotSpot; > + CursorData data(image, hotSpot); > if (!inherited.access()->cursorData) > inherited.access()->cursorData = CursorList::create(); > inherited.access()->cursorData->append(data); I don't think you need a local variable here at all. r=me
Fixed in r57358.