2009-09-10 Zoltan Horvath Reviewed by Darin Adler. Use fastNew and fastDelete instead of operator new and delete for CSSSelector class. https://bugs.webkit.org/show_bug.cgi?id=25930 Change using of operator new to fastNew and operator delete to fastDeleteSkippingDestructor for CSSSelector class to avoid mismatched function call. This change fixes valgrind's 'mismatched free' notification. * css/CSSParser.cpp: (WebCore::CSSParser::~CSSParser): (WebCore::CSSParser::createFloatingSelector): * css/CSSSelectorList.cpp: (WebCore::CSSSelectorList::adoptSelectorVector): 2009-09-10 Steve Block Reviewed by Darin Adler. Geolocation does not correctly handle reentrant calls from callbacks. https://bugs.webkit.org/show_bug.cgi?id=29040 Tests: fast/dom/Geolocation/reentrant-error.html fast/dom/Geolocation/reentrant-success.html * page/Geolocation.cpp: Modified. (WebCore::Geolocation::handleError): Modified. Call sendError directly, clearing notifier lists before making callback. (WebCore::Geolocation::makeSuccessCallbacks): Modified. Call sendPosition directly, clearing notifier lists before making callback. * page/Geolocation.h: Modified. Deleted sendErrorToXX and sendPositionToXXX methods. 2009-09-10 Erik Arvidsson Reviewed by Eric Seidel. Fixes issue where focused elements did not get blur and focus events when the window was blurred and focused. https://bugs.webkit.org/show_bug.cgi?id=27105 Test: fast/events/blur-focus-window-should-blur-focus-element.html * page/FocusController.cpp: (WebCore::dispatchEventsOnWindowAndFocusedNode): (WebCore::FocusController::setFocused): (WebCore::FocusController::setActive): 2009-09-10 Adam Roben Make the play/pause button in