Unreviewed. Fix the indentation after r105848. Typo fix after r155523.

* BuildSlaveSupport/build.webkit.org-config/master.cfg:
(RunAndUploadPerfTests):
(RunAndUploadPerfTests.start):
(RunAndUploadPerfTests.getText2):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155538 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ARM buildfix after r155491
https://bugs.webkit.org/show_bug.cgi?id=121152

Reviewed by Anders Carlsson.

FELightingNEON.cpp and FELightingNEON.h is inside COMPILER(GCC) guard, so it's safe to use GCC attribute.

* platform/graphics/cpu/arm/filters/FELightingNEON.cpp: Use __aligned__ GCC attribute directly.
* platform/graphics/cpu/arm/filters/FELightingNEON.h: Use __aligned__ GCC attribute instead of ugly template magic.
(WebCore::FELighting::platformApplyNeon):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155539 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove unnecessary Document::frame() null checks in rendererIsNeeded().
<https://webkit.org/b/121166>

Reviewed by Anders Carlsson.

rendererIsNeeded() is only called during style resolve, which only happens
while there's a Frame present.

* html/HTMLEmbedElement.cpp:
(WebCore::HTMLEmbedElement::rendererIsNeeded):
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::rendererIsNeeded):
* html/HTMLObjectElement.cpp:
* html/HTMLObjectElement.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155540 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Implement Vector::append for move-only types
https://bugs.webkit.org/show_bug.cgi?id=120805

Source/WTF:

Reviewed by Andreas Kling.

* wtf/Vector.h:
(WTF::::expandCapacity):
Remove const from the pointer passed to expandCapacity, it can be non-const if we're moving.

(WTF::::append):
Change append to take U&& and use std::forward when constructing the element and when passing
the element along to appendSlowCase if that's necessary.

(WTF::::appendSlowCase):
Use std::forward.

(WTF::::uncheckedAppend):
Rename val to value.

Tools:

Reviewed by Sam Weinig.

Add a test for Vector<MoveOnly>::append.

* TestWebKitAPI/Tests/WTF/Vector.cpp:
(TestWebKitAPI::TEST):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155541 268f45cc-cd09-0410-ab3c-d52691b4dbfc
VectorBuffer::swap doesn't need to use std::swap_ranges
https://bugs.webkit.org/show_bug.cgi?id=121164

Reviewed by Darin Adler.

There's a std::swap overload for swapping arrays, just use it instead.

* wtf/Vector.h:
(WTF::VectorBuffer::swap):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155542 268f45cc-cd09-0410-ab3c-d52691b4dbfc
AX: WebKit exposes AXTitleUIElement incorrectly on checkboxes and radio buttons
https://bugs.webkit.org/show_bug.cgi?id=121039

Reviewed by Sam Weinig.

Source/WebCore: 

Stop hiding <label> elements for radio buttons and checkboxes (and using the text inside them for the AXTitle).
Instead, expose the <label> element as the titleUIElement if appropriate for the input.

This implies:
   1) The web will no longer match MacOS behavior exactly (the text and the checkbox control are combined on MacOS into one element)
   2) But, the user will now be able to explore the <label> element which may include links or other important controls.
I think sacrificing 1) here is a good tradeoff. The user will likely never know the difference in terms of output.

Test: platform/mac/accessibility/label-elements-exposed-as-title-ui-elements.html

* accessibility/AccessibilityNodeObject.cpp:
(WebCore::AccessibilityNodeObject::titleElementText):
(WebCore::AccessibilityNodeObject::title):
* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::hasTextAlternative):
(WebCore::AccessibilityRenderObject::exposesTitleUIElement):

LayoutTests: 

* accessibility/label-for-control-hittest-expected.txt: Removed.
* accessibility/label-for-control-hittest.html: Removed.
      We no longer need this test since we are not combining label + control into one element anymore.
* accessibility/radio-button-group-members.html:
      Rewrite this test to be more modern (don't just dump attributes). 
      Instead test for what we want to know (whether radio button group members can identify their siblings)
* accessibility/radio-button-title-label-expected.txt:
* accessibility/radio-button-title-label.html:
      Rewrite this test so that it understands that controls won't hide their <label> elements.
* platform/mac/accessibility/label-element-with-hidden-control-expected.txt:
* platform/mac/accessibility/label-element-with-hidden-control.html:
      Update test to reflect that title UI elements are exposed for some controls.
* platform/mac/accessibility/label-elements-exposed-as-title-ui-elements-expected.txt: Added.
* platform/mac/accessibility/label-elements-exposed-as-title-ui-elements.html: Added.
      New test to explicitly confirm that <label> is exposed as a title UI element.
* platform/mac/accessibility/radio-button-group-members-expected.txt:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155543 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Windows] Unreviewed build correction after r155507.

* WebCoreSupport/WebChromeClient.cpp: Add missing header include
to define isHTMLVideoElement.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155544 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Optionally show visual and layout overflow rects in layer tree dumps
https://bugs.webkit.org/show_bug.cgi?id=121135

Reviewed by Beth Dakin.

When calling showLayerTree() from the debugger, show overflow rects
(visaul and layout) for renderers.

Does not affect test output.

* rendering/RenderLayer.cpp:
(showLayerTree): Pass the new flag to show overflow rects.
* rendering/RenderTreeAsText.cpp:
(WebCore::RenderTreeAsText::writeRenderObject): Print the rects.
(WebCore::write): Don't force layout on subframes if the "dont' layout"
flag is set.
* rendering/RenderTreeAsText.h: New flag.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155545 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION (143483): overflow:hidden doesn't quash big repaints from text-indent: -9999px
https://bugs.webkit.org/show_bug.cgi?id=121137

Source/WebCore:

Reviewed by Ryosuke Niwa.

The change in r143483 made it so that negative text-indent gets added
to visual oveflow even when we have overflow:hidden, which is really bad
because it causes large repaints (and large layers) for a common-on-the-web
pattern.

Revert the change, and add a new test to make sure it doesn't regress.

I can't reproduce the bug it was trying to fix with the change reverted.

Tests: compositing/geometry/negative-text-indent-with-overflow-hidden-layer.html
       fast/repaint/negative-text-indent-with-overflow-hidden.html

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::computeOverflow):

LayoutTests:

Reviewed by Ryosuke Niwa.

Text-based repaint test, and test for compositing layer geometry.

* compositing/geometry/negative-text-indent-with-overflow-hidden-layer-expected.txt: Added.
* compositing/geometry/negative-text-indent-with-overflow-hidden-layer.html: Added.
* fast/repaint/negative-text-indent-with-overflow-hidden-expected.txt: Added.
* fast/repaint/negative-text-indent-with-overflow-hidden.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155546 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Stop using deleteAllValues in SVG code
https://bugs.webkit.org/show_bug.cgi?id=121172

Reviewed by Antti Koivisto.

Use OwnPtr for values instead.

* rendering/svg/RenderSVGResourceClipper.cpp:
(WebCore::RenderSVGResourceClipper::~RenderSVGResourceClipper):
(WebCore::RenderSVGResourceClipper::removeAllClientsFromCache):
(WebCore::RenderSVGResourceClipper::removeClientFromCache):
(WebCore::RenderSVGResourceClipper::applyClippingToContext):
* rendering/svg/RenderSVGResourceClipper.h:
* rendering/svg/RenderSVGResourceFilter.cpp:
(WebCore::RenderSVGResourceFilter::~RenderSVGResourceFilter):
(WebCore::RenderSVGResourceFilter::removeAllClientsFromCache):
(WebCore::RenderSVGResourceFilter::removeClientFromCache):
(WebCore::RenderSVGResourceFilter::applyResource):
(WebCore::RenderSVGResourceFilter::postApplyResource):
(WebCore::RenderSVGResourceFilter::primitiveAttributeChanged):
* rendering/svg/RenderSVGResourceFilter.h:
* rendering/svg/RenderSVGResourceMasker.cpp:
(WebCore::RenderSVGResourceMasker::~RenderSVGResourceMasker):
(WebCore::RenderSVGResourceMasker::removeAllClientsFromCache):
(WebCore::RenderSVGResourceMasker::removeClientFromCache):
(WebCore::RenderSVGResourceMasker::applyResource):
* rendering/svg/RenderSVGResourceMasker.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155547 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r155519.
http://trac.webkit.org/changeset/155519
https://bugs.webkit.org/show_bug.cgi?id=121174

Included regression test fails, and an existing test started
to crash (Requested by ap on #webkit).

Source/WebCore:

* dom/Document.cpp:
(WebCore::Document::hoveredElementDidDetach):
* page/EventHandler.cpp:
(WebCore::EventHandler::EventHandler):
(WebCore::EventHandler::clear):
(WebCore::EventHandler::handleMouseMoveEvent):
(WebCore::EventHandler::scheduleHoverStateUpdate):
(WebCore::EventHandler::hoverTimerFired):
* page/EventHandler.h:

LayoutTests:

* fast/events/mouseenterleave-detached-element-expected.txt: Removed.
* fast/events/mouseenterleave-detached-element.html: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155548 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove TimelineTraceEventProcessor since no current ports use it
https://bugs.webkit.org/show_bug.cgi?id=121171

Reviewed by Joseph Pecoraro.

* CMakeLists.txt:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:
* inspector/InspectorAllInOne.cpp:
* inspector/InspectorClient.h:
* inspector/InspectorInstrumentation.cpp:
* inspector/InspectorInstrumentation.h:
* inspector/InspectorTimelineAgent.cpp:
(WebCore::InspectorTimelineAgent::start):
(WebCore::InspectorTimelineAgent::stop):
* inspector/InspectorTimelineAgent.h:
* inspector/TimelineTraceEventProcessor.cpp: Removed.
* inspector/TimelineTraceEventProcessor.h: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155549 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Make the table static const.

* css/makeprop.pl:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155550 268f45cc-cd09-0410-ab3c-d52691b4dbfc