Get rid of "parser" type casts in CSSGrammar.y
https://bugs.webkit.org/show_bug.cgi?id=92760

Reviewed by Adam Barth.

r124099 now type the parser parameter, it is therefore not needed to
cast to CSSParser* everywhere as we know have a CSSParser* type
already.

No new tests : refactor with no behavior change expected.

* css/CSSGrammar.y:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124241 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] Enable CSS Filter Effects
https://bugs.webkit.org/show_bug.cgi?id=92685

Patch by Joshua Netterfield <jnetterfield@rim.com> on 2012-07-31
Reviewed by Rob Buis.

Enable CSS filter effects, with the exception of custom effects (CSS shaders) and reference effects (SVG effects)

.:

Internally reviewed by Arvid Nilsson <anilsson@rim.com> and Antonio Gomes <agomes@rim.com>.

* Source/cmake/OptionsBlackBerry.cmake: Add LayerFilterRenderer
* Source/cmakeconfig.h.cmake: Acknowledge CSS filter effects

Source/WebCore:

No new tests, because this is covered by tests from other platforms.

Internally reviewed by Arvid Nilsson <anilsson@rim.com> and Antonio Gomes <agomes@rim.com>.

* CMakeLists.txt:
* PlatformBlackBerry.cmake:
* platform/graphics/blackberry/GraphicsLayerBlackBerry.cpp:
(WebCore):
(WebCore::GraphicsLayerBlackBerry::setFilters):
(WebCore::GraphicsLayerBlackBerry::updateFilters):
* platform/graphics/blackberry/GraphicsLayerBlackBerry.h:
(GraphicsLayerBlackBerry):
(WebCore::GraphicsLayerBlackBerry::filters):
* platform/graphics/blackberry/LayerCompositingThread.h:
(LayerOverride):
(WebCore):
(WebCore::LayerCompositingThread::filterOperationsChanged):
(WebCore::LayerCompositingThread::setFilterOperationsChanged):
(LayerCompositingThread):
(WebCore::LayerCompositingThread::filterActions):
(WebCore::LayerCompositingThread::setFilterActions):
* platform/graphics/blackberry/LayerData.h:
(LayerData):
(WebCore::LayerData::filters):
* platform/graphics/blackberry/LayerFilterRenderer.cpp: Added.
(WebCore):
(WebCore::operationTypeToProgramID):
(WebCore::Uniformf::Uniformf):
(WebCore::Uniform1f::apply):
(WebCore::Uniform1f::create):
(WebCore::Uniform1f::Uniform1f):
(WebCore::Uniform2f::apply):
(WebCore::Uniform2f::create):
(WebCore::Uniform2f::Uniform2f):
(WebCore::Uniform3f::apply):
(WebCore::Uniform3f::create):
(WebCore::Uniform3f::Uniform3f):
(WebCore::LayerFilterRendererAction::create):
(WebCore::LayerFilterRendererAction::LayerFilterRendererAction):
(WebCore::LayerFilterRendererAction::~LayerFilterRendererAction):
(WebCore::LayerFilterRendererAction::useActionOn):
(WebCore::LayerFilterRenderer::create):
(WebCore::LayerFilterRenderer::LayerFilterRenderer):
(WebCore::LayerFilterRenderer::bindCommonAttribLocation):
(WebCore::LayerFilterRenderer::initializeSharedGLObjects):
(WebCore::LayerFilterRenderer::ping):
(WebCore::LayerFilterRenderer::pong):
(WebCore::LayerFilterRenderer::pushSnapshot):
(WebCore::LayerFilterRenderer::popSnapshot):
(WebCore::LayerFilterRenderer::actionsForOperations):
(WebCore::LayerFilterRenderer::applyActions):
* platform/graphics/blackberry/LayerFilterRenderer.h: Added.
(WebCore):
(Uniformf):
(WebCore::Uniformf::location):
(Uniform1f):
(Uniform2f):
(Uniform3f):
(LayerFilterRendererAction):
(WebCore::LayerFilterRendererAction::shouldPushSnapshot):
(WebCore::LayerFilterRendererAction::setPushSnapshot):
(WebCore::LayerFilterRendererAction::shouldPopSnapshot):
(WebCore::LayerFilterRendererAction::setPopSnapshot):
(WebCore::LayerFilterRendererAction::appendUniform):
(LayerFilterRenderer):
(WebCore::LayerFilterRenderer::isEnabled):
(WebCore::LayerFilterRenderer::disable):
* platform/graphics/blackberry/LayerRenderer.cpp:
(WebCore::LayerRenderer::loadShader):
(WebCore::LayerRenderer::loadShaderProgram):
(WebCore::LayerRenderer::drawLayersOnSurfaces):
(WebCore::LayerRenderer::updateLayersRecursive):
(WebCore):
(WebCore::LayerRenderer::initializeSharedGLObjects):
* platform/graphics/blackberry/LayerRenderer.h:
(LayerRenderer):
* platform/graphics/blackberry/LayerWebKitThread.cpp:
(WebCore::LayerWebKitThread::LayerWebKitThread):
(WebCore::LayerWebKitThread::commitOnCompositingThread):
(WebCore):
(WebCore::LayerWebKitThread::filtersCanBeComposited):
* platform/graphics/blackberry/LayerWebKitThread.h:
(LayerWebKitThread):
(WebCore::LayerWebKitThread::setFilters):
* platform/graphics/filters/FECustomFilter.cpp:
(WebCore::FECustomFilter::platformApplySoftware):
(WebCore::FECustomFilter::resizeContext):
(WebCore::FECustomFilter::bindProgramAndBuffers):
* platform/graphics/filters/FilterOperation.h:
(WebCore):
(FilterOperation):

Tools:

Internally reviewed by Arvid Nilsson <anilsson@rim.com> and Antonio Gomes <agomes@rim.com>.

* Scripts/webkitperl/FeatureList.pm: Acknowledge CSS filter effects.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124242 268f45cc-cd09-0410-ab3c-d52691b4dbfc
suppress gradient tests on skia/mac that have incorrectly "recorded failure", now that those tests are actually passing (drawing correctly)
https://bugs.webkit.org/show_bug.cgi?id=92787

Reviewed by NOBODY - expectations only

* platform/chromium/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124243 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Dump a backtrace in case of a crash
https://bugs.webkit.org/show_bug.cgi?id=92489

Patch by Thiago Marcos P. Santos <thiago.santos@intel.com> on 2012-07-31
Reviewed by Csaba Osztrogonác.

Dump a stack trace in case of a unexpected signal. This should
provide a better report at the build bots when WTR crashes.

* DumpRenderTree/efl/DumpRenderTree.cpp:
(main):
* TestWebKitAPI/efl/InjectedBundleController.cpp:
(TestWebKitAPI::InjectedBundleController::platformInitialize):
* WebKitTestRunner/InjectedBundle/efl/InjectedBundleEfl.cpp:
(WTR::InjectedBundle::platformInitialize):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124244 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Unreviewed gardening.

Add new mac baselines for fill-stroke-clip-reset-path.  These have red
squares for the dashboard results, since chrome doesn't support
dashboard mode.  The same had already been done for Win and Linux.

* platform/chromium-mac-snowleopard/fast/canvas/fill-stroke-clip-reset-path-expected.png: Added.
* platform/chromium-mac/fast/canvas/fill-stroke-clip-reset-path-expected.png: Added.
* platform/chromium/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124245 268f45cc-cd09-0410-ab3c-d52691b4dbfc
nrwt: clean up TestInputs in preparation for cleaning up sharding
https://bugs.webkit.org/show_bug.cgi?id=92784

Reviewed by Ryosuke Niwa.

Currently, in order to shard the tests you need to refer to
state in the manager as well as the state in the TestInputs;
this change embeds the necessary state into the TestInputs so
sharding them can be a standalone operation.

The actual clean up of the sharding will follow in a subsequent patch.

Covered by existing tests; no new functionality. However, I did
rework the sharding tests to be less dependent on the test
scaffolding and easier to follow.

* Scripts/webkitpy/layout_tests/controllers/manager.py:
(Manager._test_input_for_file):
(Manager._shard_in_two):
(Manager._shard_every_file):
(Manager._shard_by_directory):
* Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
(ManagerWrapper._test_input_for_file):
(ShardingTests.assert_shards):
(ShardingTests.test_shard_by_dir):
(ShardingTests.test_shard_by_dir_sharding_ref_tests):
(ShardingTests.test_shard_every_file):
(ShardingTests.test_shard_in_two):
(ShardingTests.test_shard_in_two_sharding_ref_tests):
(ShardingTests.test_shard_in_two_has_no_unlocked_shards):
(ShardingTests.test_multiple_locked_shards):
* Scripts/webkitpy/layout_tests/models/test_input.py:
(TestInput.__init__):
(TestInput.__repr__):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124246 268f45cc-cd09-0410-ab3c-d52691b4dbfc
nrwt: clean up names in sharding code
https://bugs.webkit.org/show_bug.cgi?id=92785

Reviewed by Ryosuke Niwa.

More refactoring ... this makes the methods use TestInputs
consistently (and updates the names accordingly) and improves
encapsulation a bit. The sharding code is now pretty
self-contained.

This change adds no new functionality and is covered by the
existing (updated) tests.

* Scripts/webkitpy/layout_tests/controllers/manager.py:
(TestShard.visible.__init__):
(TestShard.visible.__repr__):
(Manager._dir_for_test_input):
(Manager._shard_tests):
(Manager._shard_in_two):
(Manager._shard_every_file):
(Manager._shard_by_directory):
(Manager._run_tests):
* Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
(ManagerWrapper._test_input_for_file):
(ShardingTests.get_shards):
* Scripts/webkitpy/layout_tests/models/test_input.py:
(TestInput.__init__):
(TestInput.__repr__):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124247 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Unreviewed gardening.

* platform/chromium-mac/platform/chromium/virtual/gpu/fast/canvas/canvas-incremental-repaint-2-expected.png: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124248 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        [WK2] Use an actual WebProcessProxy when decoding messages
        https://bugs.webkit.org/show_bug.cgi?id=92788

        Reviewed by Anders Carlsson.

        WebContextUserMessageDecoder gets process proxy from a WebContext object, but we
        know which process a message came from, and can just use that.

        * UIProcess/WebContextUserMessageCoders.h:
        (WebKit::WebContextUserMessageDecoder::WebContextUserMessageDecoder):
        (WebKit::WebContextUserMessageDecoder::decode):
        This is the focal point of this patch - decoder no longer needs to call m_context->process().

        * UIProcess/WebContext.cpp:
        (WebKit::WebContext::didReceiveMessage):
        (WebKit::WebContext::didReceiveSyncMessage):
        * UIProcess/WebContext.h:
        These methods now take a WebProcessProxy pointer instead of IPC::Connection,
        so that they can call the updated coder.
        A number of other didReceiveMessage can be modified to take WebProcessProxy later
        if needed (it's a richer interface than IPC::Connection), although not all messages
        come from WebProcesses.

        * UIProcess/WebConnectionToWebProcess.cpp:
        (WebKit::WebConnectionToWebProcess::didReceiveMessage):
        * UIProcess/WebPageProxy.cpp:
        (WebKit::WebPageProxy::willGoToBackForwardListItem):
        (WebKit::WebPageProxy::registerIntentServiceForFrame):
        (WebKit::WebPageProxy::didStartProvisionalLoadForFrame):
        (WebKit::WebPageProxy::didReceiveServerRedirectForProvisionalLoadForFrame):
        (WebKit::WebPageProxy::didFailProvisionalLoadForFrame):
        (WebKit::WebPageProxy::didCommitLoadForFrame):
        (WebKit::WebPageProxy::didFinishDocumentLoadForFrame):
        (WebKit::WebPageProxy::didFinishLoadForFrame):
        (WebKit::WebPageProxy::didFailLoadForFrame):
        (WebKit::WebPageProxy::didSameDocumentNavigationForFrame):
        (WebKit::WebPageProxy::didReceiveTitleForFrame):
        (WebKit::WebPageProxy::didFirstLayoutForFrame):
        (WebKit::WebPageProxy::didFirstVisuallyNonEmptyLayoutForFrame):
        (WebKit::WebPageProxy::didNewFirstVisuallyNonEmptyLayout):
        (WebKit::WebPageProxy::didRemoveFrameFromHierarchy):
        (WebKit::WebPageProxy::didDisplayInsecureContentForFrame):
        (WebKit::WebPageProxy::didRunInsecureContentForFrame):
        (WebKit::WebPageProxy::didDetectXSSForFrame):
        (WebKit::WebPageProxy::didReceiveIntentForFrame):
        (WebKit::WebPageProxy::decidePolicyForNavigationAction):
        (WebKit::WebPageProxy::decidePolicyForNewWindowAction):
        (WebKit::WebPageProxy::decidePolicyForResponse):
        (WebKit::WebPageProxy::unableToImplementPolicy):
        (WebKit::WebPageProxy::willSubmitForm):
        (WebKit::WebPageProxy::mouseDidMoveOverElement):
        (WebKit::WebPageProxy::internalShowContextMenu):
        * UIProcess/WebProcessProxy.cpp:
        (WebKit::WebProcessProxy::didReceiveMessage):
        (WebKit::WebProcessProxy::didReceiveSyncMessage):
        Updated arguments accordingly.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124249 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Removed some public data and casting from the Heap
https://bugs.webkit.org/show_bug.cgi?id=92777

Reviewed by Oliver Hunt.

* heap/BlockAllocator.cpp:
(JSC::BlockAllocator::releaseFreeBlocks):
(JSC::BlockAllocator::blockFreeingThreadMain): Use the DeadBlock class
since HeapBlock is a template, and not a class, now. Call destroy()
instead of monkeying around with DeadBlock's internal data because
encapsulation is good.

* heap/BlockAllocator.h:
(DeadBlock): Added a class to represent a dead block, since HeapBlock is
a template now, and can't be instantiated directly.

(JSC::DeadBlock::DeadBlock):
(JSC::DeadBlock::create):
(BlockAllocator):
(JSC::BlockAllocator::allocate):
(JSC::BlockAllocator::deallocate): Use the DeadBlock class because
encapsulation is good.

* heap/CopiedBlock.h:
(CopiedBlock::destroy): No need for a destroy() function, since we
inherit one now.

(JSC::CopiedBlock::CopiedBlock):
(JSC::CopiedBlock::payloadEnd):
(JSC::CopiedBlock::capacity): Updated for some encapsulation inside
HeapBlock.

* heap/CopiedSpace.cpp:
(JSC::CopiedSpace::~CopiedSpace):
(JSC::CopiedSpace::doneCopying):
(JSC::CopiedSpace::size):
(JSC::CopiedSpace::capacity):
(JSC::isBlockListPagedOut): Removed a bunch of casting. This is no longer
necessary, now that our list and its nodes have the right type.

* heap/CopiedSpace.h: Use the right type in our data structures because
it improves clarity.

* heap/CopiedSpaceInlineMethods.h:
(JSC::CopiedSpace::startedCopying): Use swap to avoid duplicating it.

* heap/HeapBlock.h:
(HeapBlock): Made this a class template so we can return the right type
in linked list operations. Made our data private because encapsulation
is good.

(JSC::HeapBlock::destroy): Since we know our type, we can also eliminate
duplicate destroy() functions in our subclasses.

(JSC::HeapBlock::allocation): Added an accessor so we can hide our data.
By using const, this accessor prevents clients from accidentally deleting
our allocation.

* heap/MarkedAllocator.cpp:
(JSC::MarkedAllocator::isPagedOut):
(JSC::MarkedAllocator::tryAllocateHelper):
(JSC::MarkedAllocator::removeBlock): Removed a bunch of casting. This is
no longer necessary, now that our list and its nodes have the right type.

* heap/MarkedAllocator.h:
(MarkedAllocator):
(JSC::MarkedAllocator::reset):
(JSC::MarkedAllocator::forEachBlock): Use the right type, do less casting.

* heap/MarkedBlock.cpp: 
(JSC::MarkedBlock::destroy): Removed this function because our parent
class provides it for us now.

(JSC::MarkedBlock::MarkedBlock):
* heap/MarkedBlock.h:
(MarkedBlock):
(JSC::MarkedBlock::capacity): Updated for encapsulation.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124250 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Unreviwed gardening.
Some TestExpectations hygiene.

* platform/chromium/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124251 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium-Android] We should hueristically detect content intents on touch
https://bugs.webkit.org/show_bug.cgi?id=92346

Reviewed by Nate Chapin.

On Android, when the user touches a block of text, we run a bunch of
OS-provided hueristics to detect content intents, such as telephone
numbers and mailing addresses.

This patch introduces the WebViewClient functions and the
detectContentIntentOnTouch function, but does not wire the code into
the event system. There are some decisions to make about how to wire it
into the event system, we'll tackle in the next patch.

* public/WebViewClient.h:
(WebKit::WebViewClient::detectContentIntentAround):
(WebViewClient):
(WebKit::WebViewClient::scheduleContentIntent):
(WebKit::WebViewClient::cancelScheduledContentIntents):
* src/WebViewImpl.cpp:
(WebKit):
(WebKit::tapHighlightColorForNode):
(WebKit::WebViewImpl::showTouchHighlightQuads):
(WebKit::WebViewImpl::detectContentIntentOnTouch):
* src/WebViewImpl.h:
(WebViewImpl):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124252 268f45cc-cd09-0410-ab3c-d52691b4dbfc
FractionalLayoutUnit minor math bugs
https://bugs.webkit.org/show_bug.cgi?id=86065

Reviewed by Levi Weintraub.

Implement a consistent set of subject modifying operators, to ensure
operations that need to be in float are performed in float.

Scale FractionalLayoutSize in FractionalLayoutUnits instead of intergers.

No new functionality. No new tests.

* platform/FractionalLayoutUnit.h:
(WebCore::operator-=):
(WebCore::operator*=):
(WebCore::operator/=):
* platform/graphics/FractionalLayoutSize.h:
(WebCore::FractionalLayoutSize::scale):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Rebaselines.
https://bugs.webkit.org/show_bug.cgi?id=45991
https://bugs.webkit.org/show_bug.cgi?id=81145
https://bugs.webkit.org/show_bug.cgi?id=82911
http://crbug.com/131187
http://crbug.com/135709
http://crbug.com/139796

Mostly rebaselining in the wake of r124209, with a few other things
mixed in.

* platform/chromium-linux-x86/fast/gradients: Added.
* platform/chromium-linux-x86/fast/gradients/crash-on-zero-radius-expected.png: Added.
* platform/chromium-linux-x86/fast/gradients/generated-gradients-expected.png: Added.
* platform/chromium-linux-x86/fast/gradients/list-item-gradient-expected.png: Added.
* platform/chromium-linux-x86/fast/gradients/simple-gradients-expected.png: Added.
* platform/chromium-linux-x86/svg/W3C-SVG-1.1/pservers-grad-13-b-expected.png: Removed.
* platform/chromium-linux-x86/svg/as-background-image: Added.
* platform/chromium-linux-x86/svg/as-background-image/svg-as-background-3-expected.png: Added.
* platform/chromium-linux-x86/svg/as-background-image/svg-as-background-with-relative-size-expected.png: Added.
* platform/chromium-linux-x86/svg/custom/radial-gradient-with-outstanding-focalPoint-expected.png: Removed.
* platform/chromium-linux/fast/gradients/crash-on-zero-radius-expected.png:
* platform/chromium-linux/fast/gradients/generated-gradients-expected.png:
* platform/chromium-linux/fast/gradients/list-item-gradient-expected.png:
* platform/chromium-linux/fast/gradients/simple-gradients-expected.png:
* platform/chromium-linux/platform/chromium/compositing/scrollbars/custom-composited-different-track-parts-expected.png:
* platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-13-b-expected.png:
* platform/chromium-linux/svg/as-background-image/svg-as-background-3-expected.png:
* platform/chromium-linux/svg/as-background-image/svg-as-background-with-relative-size-expected.png:
* platform/chromium-linux/svg/custom/radial-gradient-with-outstanding-focalPoint-expected.png:
* platform/chromium-linux/svg/zoom/page/zoom-svg-as-background-with-relative-size-expected.png:
* platform/chromium-mac-snowleopard/fast/gradients/generated-gradients-expected.png:
* platform/chromium-mac-snowleopard/fast/gradients/list-item-gradient-expected.png:
* platform/chromium-mac-snowleopard/platform/chromium/virtual/gpu/canvas: Added.
* platform/chromium-mac-snowleopard/platform/chromium/virtual/gpu/canvas/philip: Added.
* platform/chromium-mac-snowleopard/platform/chromium/virtual/gpu/canvas/philip/tests: Added.
* platform/chromium-mac-snowleopard/platform/chromium/virtual/gpu/canvas/philip/tests/2d.gradient.radial.cone.behind-expected.txt: Added.
* platform/chromium-mac-snowleopard/platform/chromium/virtual/gpu/canvas/philip/tests/2d.gradient.radial.cone.beside-expected.txt: Added.
* platform/chromium-mac-snowleopard/platform/chromium/virtual/gpu/canvas/philip/tests/2d.gradient.radial.cone.shape2-expected.txt: Added.
* platform/chromium-mac-snowleopard/platform/chromium/virtual/gpu/canvas/philip/tests/2d.gradient.radial.cone.top-expected.txt: Added.
* platform/chromium-mac-snowleopard/platform/chromium/virtual/gpu/canvas/philip/tests/2d.gradient.radial.touch1-expected.txt: Added.
* platform/chromium-mac-snowleopard/platform/chromium/virtual/gpu/canvas/philip/tests/2d.gradient.radial.touch3-expected.txt: Added.
* platform/chromium-mac-snowleopard/svg/as-background-image/svg-as-background-with-relative-size-expected.png: Added.
* platform/chromium-mac/canvas/philip/tests/2d.gradient.radial.cone.behind-expected.txt: Removed.
* platform/chromium-mac/canvas/philip/tests/2d.gradient.radial.cone.beside-expected.txt: Removed.
* platform/chromium-mac/canvas/philip/tests/2d.gradient.radial.cone.cylinder-expected.txt: Removed.
* platform/chromium-mac/canvas/philip/tests/2d.gradient.radial.cone.shape2-expected.txt: Removed.
* platform/chromium-mac/canvas/philip/tests/2d.gradient.radial.cone.top-expected.txt: Removed.
* platform/chromium-mac/canvas/philip/tests/2d.gradient.radial.touch1-expected.txt: Removed.
* platform/chromium-mac/canvas/philip/tests/2d.gradient.radial.touch3-expected.txt: Removed.
* platform/chromium-mac/fast/canvas/canvas-currentColor-expected.txt: Removed.
* platform/chromium-mac/fast/gradients/crash-on-zero-radius-expected.png:
* platform/chromium-mac/fast/gradients/css3-color-stop-units-expected.png: Added.
* platform/chromium-mac/fast/gradients/generated-gradients-expected.png:
* platform/chromium-mac/fast/gradients/list-item-gradient-expected.png:
* platform/chromium-mac/fast/gradients/simple-gradients-expected.png:
* platform/chromium-mac/platform/chromium/virtual/gpu/canvas/philip/tests/2d.gradient.radial.cone.behind-expected.txt: Added.
* platform/chromium-mac/platform/chromium/virtual/gpu/canvas/philip/tests/2d.gradient.radial.cone.beside-expected.txt: Added.
* platform/chromium-mac/platform/chromium/virtual/gpu/canvas/philip/tests/2d.gradient.radial.cone.shape2-expected.txt: Added.
* platform/chromium-mac/platform/chromium/virtual/gpu/canvas/philip/tests/2d.gradient.radial.cone.top-expected.txt: Added.
* platform/chromium-mac/platform/chromium/virtual/gpu/canvas/philip/tests/2d.gradient.radial.touch1-expected.txt: Added.
* platform/chromium-mac/platform/chromium/virtual/gpu/canvas/philip/tests/2d.gradient.radial.touch3-expected.txt: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/animate-elem-80-t-expected.png: Added.
* platform/chromium-mac/svg/W3C-SVG-1.1/pservers-grad-13-b-expected.png:
* platform/chromium-mac/svg/as-background-image/svg-as-background-3-expected.png:
* platform/chromium-mac/svg/as-background-image/svg-as-background-with-relative-size-expected.png:
* platform/chromium-mac/svg/custom/radial-gradient-with-outstanding-focalPoint-expected.png:
* platform/chromium-mac/svg/zoom/page/zoom-svg-as-background-with-relative-size-expected.png:
* platform/chromium-win-xp/svg/as-background-image: Added.
* platform/chromium-win-xp/svg/as-background-image/svg-as-background-3-expected.png: Added.
* platform/chromium-win-xp/svg/as-background-image/svg-as-background-6-expected.png: Added.
* platform/chromium-win-xp/svg/as-background-image/svg-as-background-with-relative-size-expected.png: Added.
* platform/chromium-win/fast/gradients/crash-on-zero-radius-expected.png:
* platform/chromium-win/fast/gradients/generated-gradients-expected.png:
* platform/chromium-win/fast/gradients/list-item-gradient-expected.png:
* platform/chromium-win/fast/gradients/simple-gradients-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-13-b-expected.png:
* platform/chromium-win/svg/as-background-image/svg-as-background-3-expected.png:
* platform/chromium-win/svg/as-background-image/svg-as-background-6-expected.png:
* platform/chromium-win/svg/as-background-image/svg-as-background-with-relative-size-expected.png:
* platform/chromium-win/svg/custom/radial-gradient-with-outstanding-focalPoint-expected.png:
* platform/chromium-win/svg/zoom/page/zoom-svg-as-background-with-relative-size-expected.png:
* platform/chromium/TestExpectations:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124254 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add stub implementation for MediaStreamAudioSourceNode
https://bugs.webkit.org/show_bug.cgi?id=90110

Reviewed by Kenneth Russell.

Source/WebCore:

Test: webaudio/mediastreamaudiosourcenode.html

* CMakeLists.txt:
* DerivedSources.make:
* GNUmakefile.list.am:
* WebCore.gypi:
* WebCore.xcodeproj/project.pbxproj:
Add MediaStreamAudioSourceNode files to make files.

* Modules/webaudio/AudioContext.cpp:
* Modules/webaudio/AudioContext.h:
* Modules/webaudio/AudioContext.idl:
(WebCore::AudioContext::createMediaStreamSource):
Add new createMediaStreamSource() method.

* Modules/webaudio/AudioNode.h:
Add NodeTypeMediaStreamAudioSource.

* Modules/webaudio/MediaStreamAudioSourceNode.cpp: Added.
* Modules/webaudio/MediaStreamAudioSourceNode.h: Added.
(WebCore::MediaStreamAudioSourceNode::create):
(WebCore::MediaStreamAudioSourceNode::MediaStreamAudioSourceNode):
(WebCore::MediaStreamAudioSourceNode::~MediaStreamAudioSourceNode):
(WebCore::MediaStreamAudioSourceNode::setFormat):
(WebCore::MediaStreamAudioSourceNode::process):
(WebCore::MediaStreamAudioSourceNode::reset):
(WebCore::MediaStreamAudioSourceNode::mediaStream):
(WebCore::MediaStreamAudioSourceNode::audioSourceProvider):
Basic MediaStreamAudioSourceNode implementation.

* Modules/webaudio/MediaStreamAudioSourceNode.idl: Added.

LayoutTests:

* webaudio/mediastreamaudiosourcenode-expected.txt: Added.
* webaudio/mediastreamaudiosourcenode.html: Added.

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

* heap/HeapBlock.h:
(HeapBlock): WTF?



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124256 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Rebaselines.
https://bugs.webkit.org/show_bug.cgi?id=58008
https://bugs.webkit.org/show_bug.cgi?id=81145
https://bugs.webkit.org/show_bug.cgi?id=92537

Unreviewed, test updates.

Mostly rebaselining for
http://src.chromium.org/viewvc/chrome?view=rev&revision=149198 , which
resulted in some i18n font changes due to
http://trac.webkit.org/changeset/83126 .

* fast/dom/52776-expected.txt: Added.
* fast/text/international/bidi-neutral-directionality-paragraph-start-expected.txt: Added.
* platform/chromium-linux-x86/fast/text/international: Removed.
* platform/chromium-linux-x86/fast/text/international/bidi-neutral-run-expected.png: Removed.
* platform/chromium-linux-x86/platform/chromium/compositing: Added.
* platform/chromium-linux-x86/platform/chromium/compositing/scrollbars: Added.
* platform/chromium-linux-x86/platform/chromium/compositing/scrollbars/custom-composited-different-track-parts-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/dom/52776-expected.png:
* platform/chromium-mac-snowleopard/fast/dom/52776-expected.txt:
* platform/chromium-mac-snowleopard/fast/text/complex-text-opacity-expected.png:
* platform/chromium-mac-snowleopard/fast/text/international/arabic-justify-expected.png:
* platform/chromium-mac-snowleopard/fast/text/international/arabic-justify-expected.txt:
* platform/chromium-mac-snowleopard/fast/text/international/bidi-AN-after-L-expected.png:
* platform/chromium-mac-snowleopard/fast/text/international/bidi-AN-after-empty-run-expected.png:
* platform/chromium-mac-snowleopard/fast/text/international/bidi-CS-after-AN-expected.png:
* platform/chromium-mac-snowleopard/fast/text/international/bidi-mirror-he-ar-expected.png:
* platform/chromium-mac-snowleopard/fast/text/international/bidi-mirror-he-ar-expected.txt: Removed.
* platform/chromium-mac-snowleopard/fast/text/international/bidi-neutral-run-expected.png:
* platform/chromium-mac/fast/dom/52776-expected.png:
* platform/chromium-mac/fast/dom/52776-expected.txt: Removed.
* platform/chromium-mac/fast/text/complex-text-opacity-expected.png:
* platform/chromium-mac/fast/text/complex-text-opacity-expected.txt: Removed.
* platform/chromium-mac/fast/text/international/arabic-justify-expected.png:
* platform/chromium-mac/fast/text/international/arabic-justify-expected.txt: Removed.
* platform/chromium-mac/fast/text/international/bidi-AN-after-L-expected.png:
* platform/chromium-mac/fast/text/international/bidi-AN-after-L-expected.txt: Removed.
* platform/chromium-mac/fast/text/international/bidi-AN-after-empty-run-expected.png: Added.
* platform/chromium-mac/fast/text/international/bidi-CS-after-AN-expected.png:
* platform/chromium-mac/fast/text/international/bidi-CS-after-AN-expected.txt: Removed.
* platform/chromium-mac/fast/text/international/bidi-mirror-he-ar-expected.png:
* platform/chromium-mac/fast/text/international/bidi-mirror-he-ar-expected.txt: Removed.
* platform/chromium-mac/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.png:
* platform/chromium-mac/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.txt: Removed.
* platform/chromium-mac/fast/text/international/bidi-neutral-run-expected.png: Added.
* platform/chromium-win-xp/fast/text/international/bidi-neutral-run-expected.png: Removed.
* platform/chromium/TestExpectations:
* platform/efl/fast/dom/52776-expected.txt: Removed.
* platform/efl/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.txt: Removed.
* platform/gtk/fast/dom/52776-expected.txt: Removed.
* platform/gtk/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.txt: Removed.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124257 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Heap-use-after-free in WebCore::StyleResolver::loadPendingImage
https://bugs.webkit.org/show_bug.cgi?id=92606

Reviewed by Abhishek Arya.

Source/WebCore:

Changes StyleResolver's m_pendingImageProperties set to a map, such that for each property we keep
a RefPtr to the CSSValue used to set that property. This ensures that CSSValues are not freed before
they are needed by loadPendingImage.

Test: fast/css/variables/deferred-image-load-from-variable.html

* css/StyleResolver.cpp:
* css/StyleResolver.h:

LayoutTests:

Exercises the codepath where an image is loaded using a url specified via a variable.

* fast/css/variables/deferred-image-load-from-variable-expected.txt: Added.
* fast/css/variables/deferred-image-load-from-variable.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124258 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Prefer the Oracle Java plug-in over the Apple Java plug-in
https://bugs.webkit.org/show_bug.cgi?id=92780

Reviewed by Oliver Hunt.

* UIProcess/Plugins/mac/PluginInfoStoreMac.mm:
(WebKit::findPluginWithBundleIdentifier):
Add a new helper for finding a plug-in with the given bundle identifier.

(WebKit::checkForPreferredPlugin):
Helper function for making sure that an old plug-in is never loaded if a new plug-in is found, and that the old plug-in
is removed from the list of loaded plug-ins if the new plug-in is found.

(WebKit::PluginInfoStore::shouldUsePlugin):
Prefer the Oracle Java plug-in over the Apple Java plug-in.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124259 268f45cc-cd09-0410-ab3c-d52691b4dbfc
StyleResolver::canShareStyleWithElement does not need to use getAttribute for classAttr in the non-SVG case
https://bugs.webkit.org/show_bug.cgi?id=92687

Reviewed by Antti Koivisto.

Previously 10% of samples in canShareStyleWithElement hit this line, after this change < 1% do.
This is a small speedup for the non-SVG case.  Since this call is made for every element
when style is resolved, any small speedup in this function matters on large documents.

* css/StyleResolver.cpp:
(WebCore::StyleResolver::collectMatchingRulesForList):


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