Build fix for r145592 - update gyp files to refer to new file locations.

Source/WebCore:

* WebCore.gypi:

Source/WTF:

* WTF.gypi:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145603 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Try to fix the Windows build.

Not reviewed.

* JavaScriptCore.vcxproj/JavaScriptCoreExportGenerator/JavaScriptCoreExports.def.in:
Export a thing.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145606 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, disabling tests for Win EWS.

win-ews obviously cannot keep up with running tests, it's >300 behind.
Probably doesn't help that its (likely) running tests serially.

* Scripts/webkitpy/tool/commands/earlywarningsystem.py:
(WinEWS):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145607 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[css exclusions] Move ExclusionShapeInsideInfo into RenderBlockRareData
https://bugs.webkit.org/show_bug.cgi?id=110995

Reviewed by Julien Chaffraix.

This patch moves ExclusionShapeInsideInfo into the RenderBlockRareData struct,
which enables us to move away from the global ExclusionShapeInsideInfo map.
Some additional refactoring was done to remove ExclusionShapeInsideInfo's
dependency on InlineIterator, which depended on RenderBlock. This work required
adding a new LineSegmentIterator struct.

Refactoring, no new tests.

* rendering/ExclusionShapeInsideInfo.cpp:
(WebCore):
(WebCore::LineSegmentRange::LineSegmentRange): Moving the InlineIterator
constructor to the .cpp file, as InlineIterator is now forward declared in
the .h file.
(WebCore::ExclusionShapeInsideInfo::isEnabledFor): Moving isEnabledFor to
the .cpp file, as RenderBlock is now forward declared in the .h file.
* rendering/ExclusionShapeInsideInfo.h:
(WebCore):
(LineSegmentIterator): A simple struct for containing segment positions for
layout.
(WebCore::LineSegmentIterator::LineSegmentIterator): Constructor.
(LineSegmentRange): Transitioning to store LineSegmentIterator.
(WebCore::LineSegmentRange::LineSegmentRange): Ditto.
(ExclusionShapeInsideInfo):
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::willBeDestroyed): Destroying a block will now destroy
its ExclusionShapeInsideInfo, so there is no need to remove it from the map.
(WebCore):
(WebCore::RenderBlock::updateExclusionShapeInsideInfoAfterStyleChange): Use
the RenderBlockRareData struct rather than the global map.
* rendering/RenderBlock.h:
(WebCore):
(WebCore::RenderBlock::ensureExclusionShapeInsideInfo): Ensure an info struct
is present if the shape-inside style is set.
(WebCore::RenderBlock::exclusionShapeInsideInfo): Look up the info struct for
the current block.
(WebCore::RenderBlock::setExclusionShapeInsideInfo): Update the info struct
for the current block.
(RenderBlockRareData): Add the ExclusionShapeInsideInfo member. Move the struct
declaration to be public, so that the OwnPtr reference can properly delete it.
* rendering/RenderBlockLineLayout.cpp:
(WebCore::constructBidiRunsForLine): Construct the appropriate offsets during
layout based on the stored LineSegmentIterators.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145610 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove TextIterator.cpp's isAllCollapsibleWhitespace
https://bugs.webkit.org/show_bug.cgi?id=112200

Reviewed by Ryosuke Niwa.

Remove isAllCollapsibleWhitespace since nothing uses it.

* editing/TextIterator.cpp: Remove isAllCollapsibleWhitespace.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145613 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Try to fix the Windows build.

Not reviewed.

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreExports.def:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145615 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Update chromium pixel baselines for mesa blend fix in chromium r187688

* platform/chromium-linux/compositing/color-matching/image-color-matching-expected.png:
* platform/chromium-linux/compositing/culling/filter-occlusion-blur-expected.png: Removed.
* platform/chromium-linux/compositing/culling/filter-occlusion-blur-large-expected.png: Removed.
* platform/chromium-linux/compositing/direct-image-compositing-expected.png:
* platform/chromium-linux/compositing/geometry/layer-due-to-layer-children-deep-expected.png:
* platform/chromium-linux/compositing/geometry/layer-due-to-layer-children-expected.png:
* platform/chromium-linux/compositing/geometry/vertical-scroll-composited-expected.png:
* platform/chromium-linux/compositing/geometry/video-fixed-scrolling-expected.png:
* platform/chromium-linux/compositing/geometry/video-opacity-overlay-expected.png:
* platform/chromium-linux/compositing/layers-inside-overflow-scroll-expected.png:
* platform/chromium-linux/compositing/overflow/overflow-compositing-descendant-expected.png:
* platform/chromium-linux/compositing/overflow/scroll-ancestor-update-expected.png:
* platform/chromium-linux/compositing/reflections/animation-inside-reflection-expected.png:
* platform/chromium-linux/compositing/reflections/load-video-in-reflection-expected.png:
* platform/chromium-linux/compositing/reflections/nested-reflection-anchor-point-expected.png:
* platform/chromium-linux/compositing/reflections/transform-inside-reflection-expected.png:
* platform/chromium-linux/compositing/self-painting-layers-expected.png:
* platform/chromium-linux/compositing/transitions/scale-transition-no-start-expected.png:
* platform/chromium-linux/compositing/visibility/visibility-image-layers-expected.png: Removed.
* platform/chromium-linux/compositing/visibility/visibility-simple-video-layer-expected.png: Removed.
* platform/chromium-linux/css3/filters/custom/custom-filter-shader-cache-expected.png:
* platform/chromium-linux/css3/filters/custom/effect-color-check-expected.png: Added.
* platform/chromium-linux/css3/filters/custom/effect-custom-combined-missing-expected.png:
* platform/chromium-linux/css3/filters/custom/effect-custom-expected.png:
* platform/chromium-linux/css3/filters/custom/effect-custom-parameters-expected.png:
* platform/chromium-linux/css3/filters/effect-blur-hw-expected.png: Removed.
* platform/chromium-linux/css3/filters/effect-brightness-clamping-hw-expected.png: Removed.
* platform/chromium-linux/css3/filters/effect-brightness-hw-expected.png: Removed.
* platform/chromium-linux/css3/filters/effect-combined-hw-expected.png:
* platform/chromium-linux/css3/filters/effect-contrast-hw-expected.png: Removed.
* platform/chromium-linux/css3/filters/effect-drop-shadow-hw-expected.png: Removed.
* platform/chromium-linux/css3/filters/effect-reference-hw-expected.png: Removed.
* platform/chromium-linux/css3/filters/effect-reference-ordering-hw-expected.png: Removed.
* platform/chromium-linux/css3/filters/effect-saturate-hw-expected.png: Removed.
* platform/chromium-linux/css3/filters/effect-sepia-hw-expected.png: Removed.
* platform/chromium-linux/css3/filters/filter-change-repaint-composited-expected.png: Removed.
* platform/chromium-linux/css3/filters/filter-change-repaint-expected.png: Removed.
* platform/chromium-linux/css3/filters/filter-repaint-composited-fallback-crash-expected.png:
* platform/chromium-linux/css3/filters/filter-repaint-composited-fallback-expected.png:
* platform/chromium-linux/fast/canvas/webgl/css-webkit-canvas-expected.png: Removed.
* platform/chromium-linux/fast/canvas/webgl/css-webkit-canvas-repaint-expected.png: Removed.
* platform/chromium-linux/platform/chromium/compositing/3d-corners-expected.png:
* platform/chromium-linux/platform/chromium/compositing/huge-layer-rotated-expected.png:
* platform/chromium-linux/platform/chromium/compositing/perpendicular-layer-sorting-expected.png:
* platform/chromium-linux/platform/chromium/compositing/video-frame-size-change-expected.png:
* platform/chromium-linux/platform/chromium/virtual/gpu/compositedscrolling/overflow/overflow-compositing-descendant-expected.png: Added.
* platform/chromium-linux/platform/chromium/virtual/gpu/compositedscrolling/overflow/scroll-ancestor-update-expected.png: Added.
* platform/chromium-linux/platform/chromium/virtual/gpu/fast/canvas/canvas-composite-expected.png:
* platform/chromium-linux/platform/chromium/virtual/gpu/fast/canvas/canvas-text-alignment-expected.png:
* platform/chromium-linux/platform/chromium/virtual/gpu/fast/canvas/fillrect_gradient-expected.png:
* platform/chromium-linux/platform/chromium/virtual/gpu/fast/canvas/image-object-in-canvas-expected.png:
* platform/chromium-linux/platform/chromium/virtual/gpu/fast/canvas/webgl/css-webkit-canvas-expected.png: Added.
* platform/chromium-linux/platform/chromium/virtual/gpu/fast/canvas/webgl/css-webkit-canvas-repaint-expected.png: Added.
* platform/chromium-linux/platform/chromium/virtual/gpu/fast/hidpi/gradient-with-scaled-ancestor-expected.png:
* platform/chromium-linux/transforms/3d/point-mapping/3d-point-mapping-3-expected.png:
* platform/chromium-linux/transforms/3d/point-mapping/3d-point-mapping-expected.png:
* platform/chromium-linux/transforms/3d/point-mapping/3d-point-mapping-origins-expected.png:
* platform/chromium-linux/transforms/3d/point-mapping/3d-point-mapping-preserve-3d-expected.png:
* platform/chromium-mac-lion/compositing/color-matching/image-color-matching-expected.png:
* platform/chromium-mac-lion/compositing/direct-image-compositing-expected.png:
* platform/chromium-mac-lion/compositing/geometry/clipping-foreground-expected.png:
* platform/chromium-mac-lion/compositing/geometry/layer-due-to-layer-children-deep-expected.png:
* platform/chromium-mac-lion/compositing/geometry/layer-due-to-layer-children-expected.png:
* platform/chromium-mac-lion/compositing/geometry/video-fixed-scrolling-expected.png:
* platform/chromium-mac-lion/compositing/geometry/video-opacity-overlay-expected.png:
* platform/chromium-mac-lion/compositing/layers-inside-overflow-scroll-expected.png:
* platform/chromium-mac-lion/compositing/overflow/overflow-compositing-descendant-expected.png:
* platform/chromium-mac-lion/compositing/overflow/scroll-ancestor-update-expected.png:
* platform/chromium-mac-lion/compositing/reflections/animation-inside-reflection-expected.png:
* platform/chromium-mac-lion/compositing/reflections/load-video-in-reflection-expected.png:
* platform/chromium-mac-lion/compositing/reflections/nested-reflection-anchor-point-expected.png:
* platform/chromium-mac-lion/compositing/reflections/transform-inside-reflection-expected.png:
* platform/chromium-mac-lion/compositing/self-painting-layers-expected.png:
* platform/chromium-mac-lion/compositing/transitions/scale-transition-no-start-expected.png:
* platform/chromium-mac-lion/platform/chromium/compositing/video-frame-size-change-expected.png:
* platform/chromium-mac-lion/platform/chromium/virtual/gpu/compositedscrolling/overflow/overflow-compositing-descendant-expected.png: Added.
* platform/chromium-mac-lion/platform/chromium/virtual/gpu/compositedscrolling/overflow/scroll-ancestor-update-expected.png: Copied from LayoutTests/platform/chromium-mac-lion/compositing/overflow/scroll-ancestor-update-expected.png.
* platform/chromium-mac-lion/platform/chromium/virtual/gpu/fast/canvas/canvas-composite-expected.png:
* platform/chromium-mac-lion/platform/chromium/virtual/gpu/fast/canvas/canvas-text-alignment-expected.png:
* platform/chromium-mac-lion/platform/chromium/virtual/gpu/fast/canvas/canvas-text-baseline-expected.png:
* platform/chromium-mac-lion/platform/chromium/virtual/gpu/fast/canvas/fillrect_gradient-expected.png:
* platform/chromium-mac-lion/platform/chromium/virtual/gpu/fast/canvas/image-object-in-canvas-expected.png:
* platform/chromium-mac-lion/transforms/3d/point-mapping/3d-point-mapping-3-expected.png:
* platform/chromium-mac-lion/transforms/3d/point-mapping/3d-point-mapping-expected.png:
* platform/chromium-mac-lion/transforms/3d/point-mapping/3d-point-mapping-origins-expected.png:
* platform/chromium-mac-lion/transforms/3d/point-mapping/3d-point-mapping-preserve-3d-expected.png:
* platform/chromium-mac-snowleopard/compositing/color-matching/image-color-matching-expected.png:
* platform/chromium-mac-snowleopard/compositing/direct-image-compositing-expected.png:
* platform/chromium-mac-snowleopard/compositing/geometry/clipping-foreground-expected.png:
* platform/chromium-mac-snowleopard/compositing/geometry/layer-due-to-layer-children-deep-expected.png:
* platform/chromium-mac-snowleopard/compositing/geometry/layer-due-to-layer-children-expected.png:
* platform/chromium-mac-snowleopard/compositing/geometry/video-fixed-scrolling-expected.png:
* platform/chromium-mac-snowleopard/compositing/geometry/video-opacity-overlay-expected.png:
* platform/chromium-mac-snowleopard/compositing/layers-inside-overflow-scroll-expected.png:
* platform/chromium-mac-snowleopard/compositing/overflow/overflow-compositing-descendant-expected.png:
* platform/chromium-mac-snowleopard/compositing/overflow/scroll-ancestor-update-expected.png:
* platform/chromium-mac-snowleopard/compositing/reflections/animation-inside-reflection-expected.png:
* platform/chromium-mac-snowleopard/compositing/reflections/load-video-in-reflection-expected.png:
* platform/chromium-mac-snowleopard/compositing/reflections/nested-reflection-anchor-point-expected.png:
* platform/chromium-mac-snowleopard/compositing/reflections/transform-inside-reflection-expected.png:
* platform/chromium-mac-snowleopard/compositing/self-painting-layers-expected.png:
* platform/chromium-mac-snowleopard/compositing/transitions/scale-transition-no-start-expected.png:
* platform/chromium-mac-snowleopard/platform/chromium/compositing/video-frame-size-change-expected.png:
* platform/chromium-mac-snowleopard/platform/chromium/virtual/gpu/compositedscrolling/overflow/overflow-compositing-descendant-expected.png: Copied from LayoutTests/platform/chromium-mac-snowleopard/compositing/overflow/overflow-compositing-descendant-expected.png.
* platform/chromium-mac-snowleopard/platform/chromium/virtual/gpu/compositedscrolling/overflow/scroll-ancestor-update-expected.png: Added.
* platform/chromium-mac-snowleopard/platform/chromium/virtual/gpu/fast/canvas/canvas-composite-expected.png:
* platform/chromium-mac-snowleopard/platform/chromium/virtual/gpu/fast/canvas/canvas-text-alignment-expected.png:
* platform/chromium-mac-snowleopard/platform/chromium/virtual/gpu/fast/canvas/fillrect_gradient-expected.png:
* platform/chromium-mac-snowleopard/platform/chromium/virtual/gpu/fast/canvas/image-object-in-canvas-expected.png:
* platform/chromium-mac-snowleopard/transforms/3d/point-mapping/3d-point-mapping-3-expected.png:
* platform/chromium-mac-snowleopard/transforms/3d/point-mapping/3d-point-mapping-expected.png:
* platform/chromium-mac-snowleopard/transforms/3d/point-mapping/3d-point-mapping-origins-expected.png:
* platform/chromium-mac-snowleopard/transforms/3d/point-mapping/3d-point-mapping-preserve-3d-expected.png:
* platform/chromium-mac/compositing/color-matching/image-color-matching-expected.png:
* platform/chromium-mac/compositing/culling/filter-occlusion-blur-expected.png:
* platform/chromium-mac/compositing/culling/filter-occlusion-blur-large-expected.png:
* platform/chromium-mac/compositing/direct-image-compositing-expected.png:
* platform/chromium-mac/compositing/geometry/layer-due-to-layer-children-deep-expected.png:
* platform/chromium-mac/compositing/geometry/layer-due-to-layer-children-expected.png:
* platform/chromium-mac/compositing/geometry/vertical-scroll-composited-expected.png:
* platform/chromium-mac/compositing/geometry/video-fixed-scrolling-expected.png:
* platform/chromium-mac/compositing/geometry/video-opacity-overlay-expected.png:
* platform/chromium-mac/compositing/layers-inside-overflow-scroll-expected.png:
* platform/chromium-mac/compositing/overflow/overflow-compositing-descendant-expected.png:
* platform/chromium-mac/compositing/overflow/scroll-ancestor-update-expected.png:
* platform/chromium-mac/compositing/reflections/animation-inside-reflection-expected.png:
* platform/chromium-mac/compositing/reflections/load-video-in-reflection-expected.png:
* platform/chromium-mac/compositing/reflections/nested-reflection-anchor-point-expected.png:
* platform/chromium-mac/compositing/reflections/transform-inside-reflection-expected.png:
* platform/chromium-mac/compositing/self-painting-layers-expected.png:
* platform/chromium-mac/compositing/transitions/scale-transition-no-start-expected.png:
* platform/chromium-mac/compositing/visibility/visibility-image-layers-expected.png:
* platform/chromium-mac/compositing/visibility/visibility-simple-video-layer-expected.png:
* platform/chromium-mac/css3/filters/custom/custom-filter-shader-cache-expected.png:
* platform/chromium-mac/css3/filters/custom/effect-color-check-expected.png:
* platform/chromium-mac/css3/filters/custom/effect-custom-combined-missing-expected.png:
* platform/chromium-mac/css3/filters/custom/effect-custom-parameters-expected.png:
* platform/chromium-mac/css3/filters/effect-blur-hw-expected.png:
* platform/chromium-mac/css3/filters/effect-brightness-clamping-hw-expected.png:
* platform/chromium-mac/css3/filters/effect-brightness-hw-expected.png:
* platform/chromium-mac/css3/filters/effect-combined-hw-expected.png:
* platform/chromium-mac/css3/filters/effect-contrast-hw-expected.png:
* platform/chromium-mac/css3/filters/effect-drop-shadow-hw-expected.png:
* platform/chromium-mac/css3/filters/effect-reference-hw-expected.png:
* platform/chromium-mac/css3/filters/effect-reference-ordering-hw-expected.png:
* platform/chromium-mac/css3/filters/filter-change-repaint-composited-expected.png: Added.
* platform/chromium-mac/css3/filters/filter-change-repaint-expected.png: Added.
* platform/chromium-mac/css3/filters/filter-repaint-composited-fallback-crash-expected.png:
* platform/chromium-mac/css3/filters/filter-repaint-composited-fallback-expected.png:
* platform/chromium-mac/fast/canvas/webgl/css-webkit-canvas-expected.png: Added.
* platform/chromium-mac/fast/canvas/webgl/css-webkit-canvas-repaint-expected.png: Added.
* platform/chromium-mac/platform/chromium/compositing/3d-corners-expected.png:
* platform/chromium-mac/platform/chromium/compositing/filters/background-filter-blur-expected.png: Added.
* platform/chromium-mac/platform/chromium/compositing/filters/background-filter-blur-off-axis-expected.png:
* platform/chromium-mac/platform/chromium/compositing/filters/background-filter-blur-outsets-expected.png:
* platform/chromium-mac/platform/chromium/compositing/huge-layer-rotated-expected.png:
* platform/chromium-mac/platform/chromium/compositing/perpendicular-layer-sorting-expected.png:
* platform/chromium-mac/platform/chromium/compositing/video-frame-size-change-expected.png:
* platform/chromium-mac/platform/chromium/virtual/gpu/compositedscrolling/overflow/overflow-compositing-descendant-expected.png: Added.
* platform/chromium-mac/platform/chromium/virtual/gpu/compositedscrolling/overflow/scroll-ancestor-update-expected.png: Added.
* platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/canvas-composite-expected.png:
* platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/canvas-text-alignment-expected.png:
* platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/fillrect_gradient-expected.png:
* platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/image-object-in-canvas-expected.png:
* platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/webgl/css-webkit-canvas-expected.png: Added.
* platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/webgl/css-webkit-canvas-repaint-expected.png: Added.
* platform/chromium-mac/transforms/3d/point-mapping/3d-point-mapping-3-expected.png:
* platform/chromium-mac/transforms/3d/point-mapping/3d-point-mapping-expected.png:
* platform/chromium-mac/transforms/3d/point-mapping/3d-point-mapping-origins-expected.png:
* platform/chromium-mac/transforms/3d/point-mapping/3d-point-mapping-preserve-3d-expected.png:
* platform/chromium/TestExpectations:
* platform/chromium/fast/canvas/webgl/css-webkit-canvas-expected.png: Removed.
* platform/chromium/fast/canvas/webgl/css-webkit-canvas-repaint-expected.png: Removed.
* platform/efl-wk2/compositing/geometry/clipping-foreground-expected.png: Renamed from LayoutTests/platform/efl/compositing/geometry/clipping-foreground-expected.png.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145621 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Remove last vestigates of WEBKIT_USING_V8
https://bugs.webkit.org/show_bug.cgi?id=112203

Reviewed by James Robinson.

These macros are no longer referenced anywhere and can be removed.

* chromium/public/WebCommon.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145623 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WKView -printOperationWithPrintInfo:forFrame: doesn’t use the print info that is 
passed in
https://bugs.webkit.org/show_bug.cgi?id=112212
-and corresponding-
<rdar://problem/12994883>

Reviewed by Anders Carlsson.

We should call [NSPrintOperation printOperationWithView: printInfo:] to use the 
printInfo parameter instead of [NSPrintOperation printOperationWithView:] which 
will just use the sharedPrintInfo.
* UIProcess/API/mac/WKView.mm:
(-[WKView printOperationWithPrintInfo:forFrame:]):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145625 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Array.prototype.sort should at least try to be PTIME even when the array is in some bizarre mode
https://bugs.webkit.org/show_bug.cgi?id=112187
<rdar://problem/13393550>

Source/JavaScriptCore: 

Reviewed by Michael Saboff and Gavin Barraclough.
        
If we have an array-like object in crazy mode passed into Array.prototype.sort, and its length is large,
then first copy all elements into a separate, compact, un-holy array and sort that. Then copy back.
This means that sorting will be at works O(n^2) in the actual number of things in the array, rather than
O(n^2) in the array's length.

* runtime/ArrayPrototype.cpp:
(JSC::attemptFastSort):
(JSC::performSlowSort):
(JSC):
(JSC::arrayProtoFuncSort):

LayoutTests: 

Reviewed by Michael Saboff and Gavin Barraclough.
        
If your Array.prototype.sort is not sufficiently smart, this test will never complete.
But if it is, it'll complete instantly.

* fast/js/array-sort-small-sparse-array-with-large-length-expected.txt: Added.
* fast/js/array-sort-small-sparse-array-with-large-length.html: Added.
* fast/js/jsc-test-list:
* fast/js/script-tests/array-sort-small-sparse-array-with-large-length.js: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145628 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix Gamepad::axes and Gamepad::buttons to avoid calling std::copy(..., ..., 0)
https://bugs.webkit.org/show_bug.cgi?id=89510

Patch by James Robinson <jamesr@chromium.org> on 2013-03-12
Reviewed by Kenneth Russell.

Source/WebCore:

WTF::Vector::begin() returns 0 when the vector has length zero. On windows, the debug implementation of
std::copy() is unhappy with 0 as a third parameter even when the first and second parameters are equal.

Covered by gamepad/gamepad-polling-access.html

* Modules/gamepad/Gamepad.cpp:
(WebCore::Gamepad::axes):
(WebCore::Gamepad::buttons):

LayoutTests:

Remove expectation now that test passes.

* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145631 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed attempted Windows build fix after http://trac.webkit.org/changeset/145592.

* WebCore.vcproj/WebCore.vcproj:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:

* WTF.vcproj/WTF.vcproj:
* WTF.vcxproj/WTF.vcxproj:
* WTF.vcxproj/WTF.vcxproj.filters:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145637 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Primary plugin hit detection needs to run after plugin creation
https://bugs.webkit.org/show_bug.cgi?id=112206

Reviewed by Tim Horton.

On some pages, the plugins are created after the page has loaded, and
thus our heuristic to determine the primary plugin fails. Run this
heuristic more often: after each PluginView is created. It already exits
early if it has found a primary. But we also need to make sure that it
doesn't run before load.

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::addPluginView): Run detection when view is added.
(WebKit::WebPage::didFinishLoad): Remember that we have loaded.
(WebKit::WebPage::determinePrimarySnapshottedPlugIn): Look at the PluginViews to see if we have a plugin.
(WebKit::WebPage::resetPrimarySnapshottedPlugIn): Reset both flags.
* WebProcess/WebPage/WebPage.h:
(WebPage): New member variable, m_readyToFindPrimarySnapshottedPlugin.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145644 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Don't send events to plugins that are being snapshotted
https://bugs.webkit.org/show_bug.cgi?id=112215
<rdar://problem/13386224>

Reviewed by Tim Horton.

If a plugin is in the process of being snapshotted, do not forward it
any events. This avoids the case where we can accidentally capture some
custom mouse pointers, as well as trigger a plugin menu.

The next step will be to detect if the event should stop the snapshotting
(restart the plugin).

* html/HTMLPlugInElement.cpp:
(WebCore::HTMLPlugInElement::defaultEventHandler): Return early if the plugin is snapshotting.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145645 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unbreak api tests

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145647 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r145280.
http://trac.webkit.org/changeset/145280
https://bugs.webkit.org/show_bug.cgi?id=112217

This patch broke chromium WebGL conformance tests (Requested
by shawnsingh on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-12

* platform/graphics/gpu/DrawingBuffer.cpp:
(WebCore::DrawingBuffer::reset):
* platform/graphics/gpu/DrawingBuffer.h:
(DrawingBuffer):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145649 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] WebFrame event listener APIs are unused and can be removed
https://bugs.webkit.org/show_bug.cgi?id=112189

Reviewed by Darin Fisher.

As far as I can tell, there are no callers for these APIs. They appear
to have been added for out-of-process postMessages, but those are now
implemented using a different mechanism.

* public/WebFrame.h:
(WebFrame):
* src/WebFrameImpl.cpp:
* src/WebFrameImpl.h:
(WebFrameImpl):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145651 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WTF uses macros for exports. Try to fix the Windows build. Unreviewed.

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreExports.def:
* JavaScriptCore.vcxproj/JavaScriptCoreExportGenerator/JavaScriptCoreExports.def.in:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145653 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Typo in earlier Windows build fix. Unreviewed.

* WTF.vcproj/WTF.vcproj:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145657 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Update a few chromium test expectations.

* platform/chromium/TestExpectations:

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