1. 27 Sep, 2013 19 commits
    • rgabor@webkit.org's avatar
      LLInt alignment problem on ARM in debug mode · 42062786
      rgabor@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=122012
      
      Reviewed by Michael Saboff.
      
      Force GCC to put the LLInt code to .text section.
      
      * llint/LowLevelInterpreter.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156549 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      42062786
    • darin@apple.com's avatar
      Fix Python scripts test failures. · 5cc96841
      darin@apple.com authored
              * Scripts/webkitpy/style/checkers/cpp.py:
              (_FunctionState.modifiers_and_return_type): Added this back. Used only by tests
              now, not by the checker itself.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156548 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5cc96841
    • galpeter@inf.u-szeged.hu's avatar
      Remove unused method parameters from TupleCoder. · 2c040f0f
      galpeter@inf.u-szeged.hu authored
      https://bugs.webkit.org/show_bug.cgi?id=122009
      
      Reviewed by Anders Carlsson.
      
      In case of TupleCoder<0, Elements...> the parameter
      names for encoder, decoder and tuple are not used.
      By removing the paramter names the unusued paramter
      warning will disappear.
      
      * Platform/CoreIPC/Arguments.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156547 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2c040f0f
    • jer.noble@apple.com's avatar
      [Mac] Implement the media controls in JavaScript. · b8744b36
      jer.noble@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120895
      
      Reviewed by Dean Jackson.
      
      Source/JavaScriptCore:
      
      Define and turn on ENABLE_MEDIA_CONTROLS_SCRIPT.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      Re-implement the existing MediaControls constellation of classes in JavaScript
      and CSS. This will allow different ports to configure their controls without
      dependencies on the layout requirements of any other port's controls.
      
      Define and turn on ENABLE_MEDIA_CONTROLS_SCRIPT:
      * Configurations/FeatureDefines.xcconfig:
      
      Add new source files to the project:
      * DerivedSources.cpp:
      * DerivedSources.make:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.xcodeproj/project.pbxproj:
      
      Add a new class MediaControlsHost which the script controls can use to
      communicate with the HTMLMediaElement without exposing private interfaces
      to web facing scripts:
      * Modules/mediacontrols/MediaControlsHost.cpp: Added.
      (WebCore::MediaControlsHost::automaticKeyword): Static method.
      (WebCore::MediaControlsHost::forcedOnlyKeyword): Ditto.
      (WebCore::MediaControlsHost::alwaysOnKeyword): Ditto.
      (WebCore::MediaControlsHost::create): Simple factory.
      (WebCore::MediaControlsHost::MediaControlsHost): Simple constructor.
      (WebCore::MediaControlsHost::~MediaControlsHost): Simple destructor.
      (WebCore::MediaControlsHost::sortedTrackListForMenu): Pass through to CaptionUserPreferences.
      (WebCore::MediaControlsHost::displayNameForTrack): Ditto.
      (WebCore::MediaControlsHost::captionMenuOffItem): Pass through to TextTrack.
      (WebCore::MediaControlsHost::captionMenuAutomaticItem): Ditto.
      (WebCore::MediaControlsHost::captionDisplayMode): Pass through to CaptionUserPreferences.
      (WebCore::MediaControlsHost::setSelectedTextTrack): Pass through to HTMLMediaElement.
      (WebCore::MediaControlsHost::textTrackContainer): Lazily create a MediaControlTextTrackContainerElement.
      (WebCore::MediaControlsHost::updateTextTrackContainer): Pass through to MediaControlTextTrackContainerElement.
      * Modules/mediacontrols/MediaControlsHost.h: Added.
      * Modules/mediacontrols/MediaControlsHost.idl: Added.
      * Modules/mediacontrols/mediaControlsApple.css: Added.
      
      Add convenience methods for adding a MediaControlsHost to a VM.
      * bindings/js/ScriptObject.cpp:
      (WebCore::ScriptGlobalObject::set):
      * bindings/js/ScriptObject.h:
      
      Add the new controller .js implementation:
      * Modules/mediacontrols/mediaControlsApple.js: Added.
      (createControls): Global method to create a new Controller object.
      (Controller): Constructor. Create and configure the default set of controls.
      (Controller.prototype.addListeners): Adds event listeners to the this.video object.
      (Controller.prototype.removeListeners): Removes listeners from same.
      (Controller.prototype.handleEvent): Makes Controller an EventHandler, making registration and
              deregistration simpler.
      (Controller.prototype.createBase): Creates the base controls object and the text track container.
      (Controller.prototype.createControls): Creates the controls panel object and controller UI.
      (Controller.prototype.setControlsType): Switches between Full Screen and Inline style of controller.
      (Controller.prototype.disconnectControls): Disconnects all UI elements from the DOM.
      (Controller.prototype.configureInlineControls): Configures existing controls for Inline mode.
      (Controller.prototype.configureFullScreenControls): Ditto, for Full Screen Mode.
      
      Add listeners for HTMLMediaElement events:
      (Controller.prototype.onloadstart): Update the status display.
      (Controller.prototype.onerror): Ditto.
      (Controller.prototype.onabort): Ditto.
      (Controller.prototype.onsuspend): Ditto.
      (Controller.prototype.onprogress): Ditto.
      (Controller.prototype.onstalled): Ditto.
      (Controller.prototype.onwaiting): Ditto.
      (Controller.prototype.onreadystatechange): Ditto.
      (Controller.prototype.ontimeupdate): Update the timeline and time displays.
      (Controller.prototype.ondurationchange): Ditto.
      (Controller.prototype.onplaying): Update the play button.
      (Controller.prototype.onplay): Ditto.
      (Controller.prototype.onpause): Ditto.
      (Controller.prototype.onratechange): Ditto.
      (Controller.prototype.onvolumechange): Update the volume and mute UI.
      (Controller.prototype.ontexttrackchange): Update the text track container and captions button.
      (Controller.prototype.ontexttrackadd): Ditto.
      (Controller.prototype.ontexttrackremove): Ditto.
      (Controller.prototype.ontexttrackcuechange): Ditto.
      (Controller.prototype.onfullscreenchange): Reconfigure the controls.
      
      Add listeners for UI element events:
      (Controller.prototype.onwrappermousemove): Show the controls and start the hide timer.
      (Controller.prototype.onwrappermouseout): Hide the controls and stop the hide timer.
      (Controller.prototype.onrewindbuttonclicked): Rewind.
      (Controller.prototype.onplaybuttonclicked): Toggle pause.
      (Controller.prototype.ontimelinechange): Update the currentTime.
      (Controller.prototype.ontimelinedown):
      (Controller.prototype.ontimelineup):
      (Controller.prototype.ontimelinemouseover): Show the thumbnail view if available.
      (Controller.prototype.ontimelinemouseout): Hide same.
      (Controller.prototype.ontimelinemousemove): Move the thumbnail view.
      (Controller.prototype.onmutebuttonclicked): Mute audio.
      (Controller.prototype.onminbuttonclicked): Increase volume to max.
      (Controller.prototype.onmaxbuttonclicked): Decrease volume to min.
      (Controller.prototype.onvolumesliderchange): Update the current volume.
      (Controller.prototype.oncaptionbuttonclicked): Show or hide the track menu.
      (Controller.prototype.onfullscreenbuttonclicked): Enter or exit fullscreen.
      (Controller.prototype.oncontrolschange): Show or hide the controls panel.
      (Controller.prototype.onseekbackmousedown): Start seeking and enable the seek timer.
      (Controller.prototype.onseekbackmouseup): Stop seeking and disable the seek timer.
      (Controller.prototype.onseekforwardmousedown): Start seekind and enable the seek timer.
      (Controller.prototype.onseekforwardmouseup): Stop seekind and disable the seek timer.
      
      Add action methods (which are mostly self explanatory):
      (Controller.prototype.updateDuration):
      (Controller.prototype.updatePlaying):
      (Controller.prototype.showControls):
      (Controller.prototype.hideControls):
      (Controller.prototype.removeControls):
      (Controller.prototype.addControls):
      (Controller.prototype.updateTime):
      (Controller.prototype.updateReadyState):
      (Controller.prototype.setStatusHidden):
      (Controller.prototype.updateThumbnailTrack):
      (Controller.prototype.updateCaptionButton):
      (Controller.prototype.updateCaptionContainer):
      (Controller.prototype.buildCaptionMenu):
      (Controller.prototype.captionItemSelected):
      (Controller.prototype.destroyCaptionMenu):
      (Controller.prototype.updateVolume):
      
      Add utility methods:
      (Controller.prototype.isFullScreen):
      (Controller.prototype.canPlay):
      (Controller.prototype.nextRate):
      (Controller.prototype.seekBackFaster):
      (Controller.prototype.seekForwardFaster):
      (Controller.prototype.formatTime):
      (Controller.prototype.trackHasThumbnails):
      
      Add the stylesheet for the javascript controls (which are mostly) copied from
      the (deleted) mediaControlsQuickTime.css and fullscreenQuickTime.css files:
      * Modules/mediacontrols/mediaControlsApple.css: Added.
      * css/fullscreenQuickTime.css: Removed.
      * css/mediaControlsQuickTime.css: Removed.
      
      Inject new stylesheets into UA sheets:
      * css/CSSDefaultStyleSheets.cpp:
      (WebCore::CSSDefaultStyleSheets::ensureDefaultStyleSheetsForElement):
      
      Use the new javascript controls rather than MediaControls:
      * html/HTMLMediaElement.cpp:
      (WebCore::HTMLMediaElement::childShouldCreateRenderer): Use the javascript controls if available.
      (WebCore::HTMLMediaElement::updateTextTrackDisplay): Ditto.
      (WebCore::HTMLMediaElement::mediaControls): Ditto.
      (WebCore::HTMLMediaElement::hasMediaControls): Ditto.
      (WebCore::HTMLMediaElement::createMediaControls): Ditto.
      (WebCore::HTMLMediaElement::configureMediaControls): Ditto.
      (WebCore::HTMLMediaElement::configureTextTrackDisplay): Ditto.
      (WebCore::HTMLMediaElement::ensureIsolatedWorld): Create a new VM for the controls script.
      (WebCore::HTMLMediaElement::ensureMediaControlsInjectedScript): Inject the media controls script into the VM.
      (WebCore::HTMLMediaElement::didAddUserAgentShadowRoot): Inject the MediaControlsHost into the VM and call
              the scripts global factory function.
      * html/HTMLMediaElement.h:
      
      Remove most of the drawing code from RenderThemeMac and RenderThemeWin and
      add accessors for the new .js and .css file data:
      * rendering/RenderTheme.h:
      (WebCore::RenderTheme::mediaControlsStyleSheet): Empty virtual method.
      (WebCore::RenderTheme::mediaControlsScript): Ditto.
      * rendering/RenderThemeMac.h:
      * rendering/RenderThemeMac.mm:
      (WebCore::RenderThemeMac::mediaControlsStyleSheet): Add accessor for mediaControlsApple.css.
      (WebCore::RenderThemeMac::mediaControlsScript): Add accessor for mediaControlsApple.js.
      (WebCore::RenderThemeMac::adjustSliderThumbSize): Remove the call to adjustMediaSliderThumbSize.
      * rendering/RenderThemeWin.cpp:
      (WebCore::RenderThemeWin::mediaControlsStyleSheet):
      (WebCore::RenderThemeWin::mediaControlsScript):
      * rendering/RenderThemeWin.h:
      
      Source/WebKit/mac:
      
      Define and turn on ENABLE_MEDIA_CONTROLS_SCRIPT.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      Define and turn on ENABLE_MEDIA_CONTROLS_SCRIPT.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WTF:
      
      Define and turn on ENABLE_MEDIA_CONTROLS_SCRIPT.
      
      * wtf/FeatureDefines.h:
      
      LayoutTests:
      
      Rebaseline changed tests and add new (failing) tests to
      TestExpectations.
      
      * media/audio-delete-while-slider-thumb-clicked.html:
      * platform/mac/TestExpectations:
      * platform/mac/fast/hidpi/video-controls-in-hidpi-expected.png:
      * platform/mac/fast/hidpi/video-controls-in-hidpi-expected.txt:
      * platform/mac/fast/layers/video-layer-expected.png:
      * platform/mac/fast/layers/video-layer-expected.txt:
      * platform/mac/fullscreen/video-controls-override-expected.txt: Added.
      * platform/mac/media/audio-controls-rendering-expected.png:
      * platform/mac/media/audio-controls-rendering-expected.txt:
      * platform/mac/media/controls-after-reload-expected.png:
      * platform/mac/media/controls-after-reload-expected.txt:
      * platform/mac/media/controls-strict-expected.png:
      * platform/mac/media/controls-strict-expected.txt:
      * platform/mac/media/controls-styling-strict-expected.png:
      * platform/mac/media/controls-styling-strict-expected.txt:
      * platform/mac/media/controls-without-preload-expected.png:
      * platform/mac/media/controls-without-preload-expected.txt:
      * platform/mac/media/media-controls-clone-expected.png:
      * platform/mac/media/media-controls-clone-expected.txt:
      * webarchive/loading/video-in-webarchive-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156546 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b8744b36
    • bjonesbe@adobe.com's avatar
      [css-shapes] Shapes are not resolved the same way in shape-inside and clip-path · 95765110
      bjonesbe@adobe.com authored
      https://bugs.webkit.org/show_bug.cgi?id=121922
      
      Reviewed by Andreas Kling.
      
      Source/WebCore:
      
      Fix computation of a percentage radius for circle shape-outside to
      match the CSS Shapes spec.
      
      Test: csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-circle-001.html
      
      * rendering/shapes/Shape.cpp:
      (WebCore::Shape::createShape):
      
      LayoutTests:
      
      Add new test for circular shape-outside with percentage radius.
      
      Update the nested container with unresolved height test because with a
      circle it isn't really testing just for unresolved height behavior.
      
      * csswg/contributors/adobe/submitted/shapes/shape-outside/resources/w3c-import.log:
      * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-circle-001-expected.html: Added.
      * csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-circle-001.html: Added.
      * csswg/contributors/adobe/submitted/shapes/shape-outside/w3c-import.log:
      * fast/shapes/shape-inside/shape-inside-on-nested-container-with-unresolved-height-expected.html:
      * fast/shapes/shape-inside/shape-inside-on-nested-container-with-unresolved-height.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156545 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      95765110
    • akling@apple.com's avatar
      Unrehued mac-lion rebaseline. · 27617695
      akling@apple.com authored
      * platform/mac-lion/js/dom/global-constructors-attributes-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156544 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      27617695
    • darin@apple.com's avatar
      Add empty MainFrame class · ade301ac
      darin@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=121770
      
      Reviewed by Andreas Kling.
      
      Source/WebCore:
      
      For now, MainFrame simply derives from Frame and adds nothing.
      Next, we will make each Frame point back to its MainFrame.
      
      * CMakeLists.txt: Added MainFrame.cpp/h.
      * GNUmakefile.list.am: Ditto.
      * Target.pri: Ditto.
      * WebCore.exp.in: Ditto.
      * WebCore.vcxproj/WebCore.vcxproj: Ditto.
      * WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
      * WebCore.xcodeproj/project.pbxproj: Ditto.
      
      * page/Frame.cpp:
      (WebCore::Frame::Frame): Use references instead of pointers for constructor.
      (WebCore::Frame::create): Pass references instead of pointers to constructor.
      * page/Frame.h: Made constructor protected instead of private, and marked
      destructor virtual explicitly. Also marked virtual functions OVERRIDE and FINAL.
      
      * page/MainFrame.cpp: Added.
      * page/MainFrame.h: Added.
      
      * page/Page.cpp:
      (WebCore::Page::Page): Use MainFrame::create instead of Frame::create.
      (WebCore::Page::frameIsMainFrame): Moved here, no longer inline.
      (WebCore::Page::renderTreeSize): Use const Frame* instead of Frame*.
      (WebCore::Page::checkSubframeCountConsistency): Ditto.
      * page/Page.h: Changed mainFrame() to return MainFrame& and m_mainFrame to
      be a RefPtr<MainFrame>.
      
      * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
      * bindings/js/PageScriptDebugServer.cpp:
      * bindings/js/ScriptProfiler.cpp:
      * bindings/js/ScriptState.cpp:
      * css/MediaQueryEvaluator.cpp:
      * dom/Document.cpp:
      * history/CachedFrame.cpp:
      * history/CachedPage.cpp:
      * history/PageCache.cpp:
      * html/HTMLPlugInImageElement.cpp:
      * inspector/InspectorAgent.cpp:
      * inspector/InspectorCanvasAgent.cpp:
      * inspector/InspectorClient.cpp:
      * inspector/InspectorDOMAgent.cpp:
      * inspector/InspectorFrontendClientLocal.cpp:
      * inspector/InspectorFrontendHost.cpp:
      * inspector/InspectorInputAgent.cpp:
      * inspector/InspectorInstrumentation.cpp:
      * inspector/InspectorOverlay.cpp:
      * inspector/InspectorPageAgent.cpp:
      * inspector/PageRuntimeAgent.cpp:
      * loader/FrameLoader.cpp:
      * loader/HistoryController.cpp:
      * loader/archive/mhtml/MHTMLArchive.cpp:
      * page/AutoscrollController.cpp:
      * page/Chrome.cpp:
      * page/ContextMenuController.cpp:
      * page/DOMWindow.cpp:
      * page/DragController.cpp:
      * page/EventHandler.cpp:
      * page/FocusController.cpp:
      * page/FrameTree.cpp:
      * page/FrameView.cpp:
      * page/GestureTapHighlighter.cpp:
      * page/PageGroup.cpp:
      * page/PageGroupLoadDeferrer.cpp:
      * page/PageSerializer.cpp:
      * page/PageThrottler.cpp:
      * page/Settings.cpp:
      * page/SpatialNavigation.cpp:
      * page/mac/DragControllerMac.mm:
      * page/mac/PageMac.cpp:
      * page/scrolling/ScrollingCoordinator.cpp:
      * page/scrolling/mac/ScrollingCoordinatorMac.mm:
      * platform/graphics/texmap/coordinated/CompositingCoordinator.cpp:
      * plugins/DOMMimeType.cpp:
      * storage/StorageEventDispatcher.cpp:
      * svg/graphics/SVGImage.cpp:
      * testing/InternalSettings.cpp:
      * testing/Internals.cpp:
      Include MainFrame.h instead of Frame.h as needed.
      
      Source/WebKit/efl:
      
      * WebCoreSupport/AcceleratedCompositingContextEfl.cpp:
      * WebCoreSupport/InspectorClientEfl.cpp:
      * ewk/ewk_view.cpp:
      Include MainFrame.h instead of Frame.h as needed.
      
      Source/WebKit/gtk:
      
      * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
      * WebCoreSupport/ChromeClientGtk.cpp:
      * WebCoreSupport/FrameLoaderClientGtk.cpp:
      * WebCoreSupport/GtkAdjustmentWatcher.cpp:
      * webkit/webkitwebframe.cpp:
      * webkit/webkitwebview.cpp:
      * webkit/webkitviewportattributes.cpp:
      Include MainFrame.h instead of Frame.h as needed.
      
      Source/WebKit/mac:
      
      * WebCoreSupport/WebDragClient.mm:
      * WebCoreSupport/WebInspectorClient.mm:
      * WebCoreSupport/WebPlatformStrategies.mm:
      * WebView/WebFrame.mm:
      * WebView/WebHTMLView.mm:
      * WebView/WebView.mm:
      Include MainFrame.h instead of Frame.h as needed.
      
      Source/WebKit/qt:
      
      * Source/WebKit/qt/WebCoreSupport/InspectorClientQt.cpp:
      * Source/WebKit/qt/WebCoreSupport/ChromeClientQt.cpp:
      * Source/WebKit/qt/WebCoreSupport/QWebFrameAdapter.cpp:
      * Source/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp:
      * Source/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp:
      * Source/WebKit/qt/WebCoreSupport/QWebPageAdapter.cpp:
      Include MainFrame.h instead of Frame.h as needed.
      
      Source/WebKit/win:
      
      * win/WebCoreSupport/WebDragClient.cpp:
      * win/WebCoreSupport/WebContextMenuClient.cpp:
      * win/WebDropSource.cpp:
      * win/WebFrame.cpp:
      * win/WebView.cpp:
      Include MainFrame.h instead of Frame.h as needed.
      
      Source/WebKit2:
      
      * WebProcess/FullScreen/WebFullScreenManager.cpp:
      * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
      * WebProcess/InjectedBundle/InjectedBundle.cpp:
      * WebProcess/Plugins/PluginView.cpp:
      * WebProcess/Storage/StorageAreaMap.cpp:
      * WebProcess/WebCoreSupport/WebChromeClient.cpp:
      * WebProcess/WebCoreSupport/WebContextMenuClient.cpp:
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
      * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
      * WebProcess/WebCoreSupport/mac/WebContextMenuClientMac.mm:
      * WebProcess/WebPage/FindController.cpp:
      * WebProcess/WebPage/PageOverlay.cpp:
      * WebProcess/WebPage/WebInspector.cpp:
      * WebProcess/WebPage/WebPage.cpp:
      * WebProcess/WebPage/atk/WebPageAccessibilityObjectAtk.cpp:
      * WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp:
      * WebProcess/WebPage/mac/LayerTreeHostMac.mm:
      * WebProcess/WebPage/mac/RemoteLayerTreeContext.mm:
      * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
      * WebProcess/WebPage/mac/WKAccessibilityWebPageObject.mm:
      * WebProcess/WebPage/mac/WebPageMac.mm:
      Include MainFrame.h instead of Frame.h as needed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156543 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ade301ac
    • gyuyoung.kim@samsung.com's avatar
      Add toWebKitCSS*Value functions to cast from CSSValue · ba169507
      gyuyoung.kim@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=121776
      
      Reviewed by Andreas Kling.
      
      CSS_VALUE_TYPE_CASTS can't cover WebKitCSS*Value classes. So, this patch adds toWebKitCSS*Value manually.
      
      No new tests, no behavior change.
      
      * css/CSSValue.cpp:
      (WebCore::CSSValue::destroy):
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::createCustomFilterOperationWithInlineSyntax):
      (WebCore::StyleResolver::createFilterOperations):
      * css/TransformFunctions.cpp:
      (WebCore::transformsForValue):
      * css/WebKitCSSArrayFunctionValue.h:
      (WebCore::toWebKitCSSArrayFunctionValue):
      * css/WebKitCSSFilterValue.h:
      (WebCore::toWebKitCSSFilterValue):
      * css/WebKitCSSMatFunctionValue.h:
      (WebCore::toWebKitCSSMatFunctionValue):
      * css/WebKitCSSMixFunctionValue.h:
      (WebCore::toWebKitCSSMixFunctionValue):
      * css/WebKitCSSSVGDocumentValue.h:
      (WebCore::toWebKitCSSSVGDocumentValue):
      * css/WebKitCSSShaderValue.h:
      (WebCore::toWebKitCSSShaderValue):
      * css/WebKitCSSTransformValue.h:
      (WebCore::toWebKitCSSTransformValue):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156542 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ba169507
    • commit-queue@webkit.org's avatar
      [GTK][WK2] Logging of accessibility events is not disabled between tests · 0a64d63f
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=121957
      
      Patch by Denis Nomiyama <d.nomiyama@samsung.com> on 2013-09-27
      Reviewed by Mario Sanchez Prada.
      
      Tools:
      
      Fixed an issue in AccessibilityNotificationHandler where the destructor
      was not disconnecting accessibility event callbacks if logging was on.
      The decision of disconnecting events can solely rely on the existence of
      notification handlers because logging uses the global notification
      handler.
      
      * WebKitTestRunner/InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp:
      (WTR::AccessibilityNotificationHandler::disconnectAccessibilityCallbacks): Fixed
      disconnection when logging is on.
      
      LayoutTests:
      
      Removed some accessibility tests from the expectations file that were
      failing before this fix.
      
      * platform/gtk-wk2/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156541 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0a64d63f
    • akling@apple.com's avatar
      Pass VM instead of ExecState to JSDateMath functions. · 38c79a21
      akling@apple.com authored
      <https://webkit.org/b/121997>
      
      Reviewed by Geoffrey Garen.
      
      The JSC date math functions only need the VM, so pass that from
      callers instead of the whole ExecState.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156540 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      38c79a21
    • commit-queue@webkit.org's avatar
      [EFL] editing/selection/fake-doubleclick.html rebaseline after r140111 · e1cb20d5
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=121831
      
      Unreviewed EFL gardening.
      
      Patch by Krzysztof Wolanski <k.wolanski@samsung.com> on 2013-09-27
      
      * platform/efl-wk2/TestExpectations:
      * platform/efl/editing/selection/fake-doubleclick-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156539 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e1cb20d5
    • paroga@webkit.org's avatar
      Add general CMakeLists.txt for DRT · e859e00b
      paroga@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=119268
      
      Reviewed by Gyuyoung Kim.
      
      The new file allows better sharing between ports.
      
      * CMakeLists.txt:
      * DumpRenderTree/CMakeLists.txt: Added.
      * DumpRenderTree/PlatformEfl.cmake: Added.
      * DumpRenderTree/efl/CMakeLists.txt: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156538 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e859e00b
    • zalan@apple.com's avatar
      Unexpected word wrapping for wrapped content then raw content. · 6833dd98
      zalan@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=121130
      
      Reviewed by Darin Adler.
      
      When deciding whether a line is considered empty, we need to check if the current
      object is fully responsible for the currently uncommitted width. It helps differentiating
      <span></span><span>abcd</span> from <span>a</span><span>bcd</span>, where in the first
      case when we hit the second <span> the line is still considered empty, as opposed to the
      second example.
      This patch introduces a map to keep track of the uncommitted widths.
      
      Source/WebCore:
      
      Test: fast/css/unexpected-word-wrapping-with-non-empty-spans.html
      
      * rendering/LineWidth.cpp:
      (WebCore::LineWidth::uncommittedWidthForObject):
      (WebCore::LineWidth::addUncommittedWidth):
      * rendering/LineWidth.h:
      * rendering/RenderBlockLineLayout.cpp:
      (WebCore::LineBreaker::nextSegmentBreak):
      
      LayoutTests:
      
      * fast/css/unexpected-word-wrapping-with-non-empty-spans-expected.html: Added.
      * fast/css/unexpected-word-wrapping-with-non-empty-spans.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156536 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6833dd98
    • allan.jensen@digia.com's avatar
      [Qt] Fix force_static_libs_as_shared in WebKit2 · 52263c83
      allan.jensen@digia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=121961
      
      Reviewed by Csaba Osztrogonác.
      
      Source/WebKit/qt:
      
      * WebCoreSupport/QWebFrameAdapter.h:
      
      Source/WebKit2:
      
      Do not add strict ordering for webkit2qml. It is not needed and causes
      Target.pri to be built out of order.
      
      * WebKit2.pro:
      
      Tools:
      
      Reenable force_static_libs_as_shared when building WebKit2.
      
      * qmake/mkspecs/features/default_post.prf:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156535 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      52263c83
    • allan.jensen@digia.com's avatar
      [Qt] Mock implementations of positioning and orientation not used · 22fc0e7d
      allan.jensen@digia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=121956
      
      Reviewed by Csaba Osztrogonác.
      
      Move production_build checks to sanitizeFeatures where its value is actually known.
      
      * qmake/mkspecs/features/features.prf:
      * qmake/mkspecs/features/features.pri:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156534 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      22fc0e7d
    • mario@webkit.org's avatar
      [ATK] Protect entry points in the ATK wrapper against outdated render trees · ff8cf0fe
      mario@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=121558
      
      Reviewed by Chris Fleizach.
      
      Source/WebCore:
      
      Make sure that we protect every entry point in the ATK wrapper
      against outdated render trees, before using the WebCore's
      accessibility API, since that might lead to problems (and crashes)
      if the render and accessibility trees are not stable.
      
      Thus, call AccessibilityObject::updateBackingStore() in those
      entry points and check whether the ATK wrapper is detached or not
      after that, to decide whether to continue or not.
      
      Besides providing a new test to check that it WebKit does not
      crash in a given scenario (which actually triggered the
      investigation here), solving this situation also fixes other tests
      that were previously failing (aria-used-on-image-maps.html) or
      that were printing wrong results, not detected until now due to
      wrong platform specific expectations (file-upload-button-stringvalue
      and deleting-iframe-destroys-axcache).
      
      Test: accessibility/heading-crash-after-hidden.html
      
      * accessibility/atk/WebKitAccessibleUtil.h: Added two new macros
      to inject the needed code at the beginning of each entry point to
      allow gracefully exit those functions when the render tree is
      unstable. Inspired by g_return_if_fail and g_return_val_if_fail, we
      called them returnIfWebKitAccessibleIsInvalid and returnValIfWebKitAccessibleIsInvalid.
      
      * accessibility/atk/WebKitAccessibleHyperlink.cpp:
      (webkitAccessibleHyperlinkActionDoAction): Protect entry point.
      (webkitAccessibleHyperlinkActionGetNActions): Ditto.
      (webkitAccessibleHyperlinkActionGetDescription): Ditto.
      (webkitAccessibleHyperlinkActionGetKeybinding): Ditto.
      (webkitAccessibleHyperlinkActionGetName): Ditto.
      (webkitAccessibleHyperlinkGetURI): Ditto.
      (webkitAccessibleHyperlinkGetObject): Ditto.
      (webkitAccessibleHyperlinkGetStartIndex): Ditto.
      (webkitAccessibleHyperlinkGetEndIndex): Ditto.
      (webkitAccessibleHyperlinkIsValid): Ditto.
      (webkitAccessibleHyperlinkGetNAnchors): Ditto.
      (webkitAccessibleHyperlinkIsSelectedLink): Ditto.
      * accessibility/atk/WebKitAccessibleInterfaceAction.cpp:
      (webkitAccessibleActionDoAction): Ditto.
      (webkitAccessibleActionGetNActions): Ditto.
      (webkitAccessibleActionGetDescription): Ditto.
      (webkitAccessibleActionGetKeybinding): Ditto.
      (webkitAccessibleActionGetName): Ditto.
      * accessibility/atk/WebKitAccessibleInterfaceComponent.cpp:
      (webkitAccessibleComponentRefAccessibleAtPoint): Ditto.
      (webkitAccessibleComponentGetExtents): Ditto.
      (webkitAccessibleComponentGrabFocus): Ditto.
      * accessibility/atk/WebKitAccessibleInterfaceDocument.cpp:
      (webkitAccessibleDocumentGetAttributeValue): Ditto.
      (webkitAccessibleDocumentGetAttributes): Ditto.
      (webkitAccessibleDocumentGetLocale): Ditto.
      * accessibility/atk/WebKitAccessibleInterfaceEditableText.cpp:
      (webkitAccessibleEditableTextSetRunAttributes): Ditto.
      (webkitAccessibleEditableTextSetTextContents): Ditto.
      (webkitAccessibleEditableTextInsertText): Ditto.
      (webkitAccessibleEditableTextCopyText): Ditto.
      (webkitAccessibleEditableTextCutText): Ditto.
      (webkitAccessibleEditableTextDeleteText): Ditto.
      (webkitAccessibleEditableTextPasteText): Ditto.
      * accessibility/atk/WebKitAccessibleInterfaceHypertext.cpp:
      (webkitAccessibleHypertextGetLink): Ditto.
      (webkitAccessibleHypertextGetNLinks): Ditto.
      (webkitAccessibleHypertextGetLinkIndex): Ditto.
      * accessibility/atk/WebKitAccessibleInterfaceImage.cpp:
      (webkitAccessibleImageGetImagePosition): Ditto.
      (webkitAccessibleImageGetImageDescription): Ditto.
      (webkitAccessibleImageGetImageSize): Ditto.
      * accessibility/atk/WebKitAccessibleInterfaceSelection.cpp:
      (webkitAccessibleSelectionAddSelection): Ditto.
      (webkitAccessibleSelectionClearSelection): Ditto.
      (webkitAccessibleSelectionRefSelection): Ditto.
      (webkitAccessibleSelectionGetSelectionCount): Ditto.
      (webkitAccessibleSelectionIsChildSelected): Ditto.
      (webkitAccessibleSelectionRemoveSelection): Ditto.
      (webkitAccessibleSelectionSelectAllSelection): Ditto.
      * accessibility/atk/WebKitAccessibleInterfaceTable.cpp:
      (webkitAccessibleTableRefAt): Ditto.
      (webkitAccessibleTableGetIndexAt): Ditto.
      (webkitAccessibleTableGetColumnAtIndex): Ditto.
      (webkitAccessibleTableGetRowAtIndex): Ditto.
      (webkitAccessibleTableGetNColumns): Ditto.
      (webkitAccessibleTableGetNRows): Ditto.
      (webkitAccessibleTableGetColumnExtentAt): Ditto.
      (webkitAccessibleTableGetRowExtentAt): Ditto.
      (webkitAccessibleTableGetColumnHeader): Ditto.
      (webkitAccessibleTableGetRowHeader): Ditto.
      (webkitAccessibleTableGetCaption): Ditto.
      (webkitAccessibleTableGetColumnDescription): Ditto.
      (webkitAccessibleTableGetRowDescription): Ditto.
      * accessibility/atk/WebKitAccessibleInterfaceText.cpp:
      (webkitAccessibleTextGetText): Ditto.
      (webkitAccessibleTextGetTextAfterOffset): Ditto.
      (webkitAccessibleTextGetTextAtOffset): Ditto.
      (webkitAccessibleTextGetTextBeforeOffset): Ditto.
      (webkitAccessibleTextGetCharacterAtOffset): Ditto.
      (webkitAccessibleTextGetCaretOffset): Ditto.
      (webkitAccessibleTextGetRunAttributes): Ditto.
      (webkitAccessibleTextGetDefaultAttributes): Ditto.
      (webkitAccessibleTextGetCharacterExtents): Ditto.
      (webkitAccessibleTextGetRangeExtents): Ditto.
      (webkitAccessibleTextGetCharacterCount): Ditto.
      (webkitAccessibleTextGetOffsetAtPoint): Ditto.
      (webkitAccessibleTextGetNSelections): Ditto.
      (webkitAccessibleTextGetSelection): Ditto.
      (webkitAccessibleTextAddSelection): Ditto.
      (webkitAccessibleTextSetSelection): Ditto.
      (webkitAccessibleTextRemoveSelection): Ditto.
      (webkitAccessibleTextSetCaretOffset): Ditto.
      * accessibility/atk/WebKitAccessibleInterfaceValue.cpp:
      (webkitAccessibleValueGetCurrentValue): Ditto.
      (webkitAccessibleValueGetMaximumValue): Ditto.
      (webkitAccessibleValueGetMinimumValue): Ditto.
      (webkitAccessibleValueSetCurrentValue): Ditto.
      (webkitAccessibleValueGetMinimumIncrement): Ditto.
      * accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
      (core): Removed, as it's not actually needed.
      (webkitAccessibleGetName):  Protect entry point.
      (webkitAccessibleGetDescription): Ditto.
      (webkitAccessibleGetParent): Ditto.
      (webkitAccessibleGetNChildren): Ditto.
      (webkitAccessibleRefChild): Ditto.
      (webkitAccessibleGetIndexInParent): Ditto.
      (webkitAccessibleGetAttributes): Ditto.
      (webkitAccessibleGetRole): Ditto.
      (webkitAccessibleRefStateSet): Ditto.
      (webkitAccessibleRefRelationSet): Ditto.
      (webkitAccessibleGetObjectLocale): Ditto.
      (webkitAccessibleDetach): Ditto.
      (webkitAccessibleIsDetached): New helper function, to be used from
      the newly added macros. We need to check whether the wrapper is
      detached and not just the wrapper AccessibilityObject since once
      the detachment happens we can't trust anything but the AtkObject
      from the wrapper (the AccessibilityObject might be invalid).
      * accessibility/atk/WebKitAccessibleWrapperAtk.h:
      
      Assert that the render tree is neither being updated nor in need
      of being updated before trying to compute the text under a given
      element, since that might lead to crashes due to the constructor
      of TextIterator calling updateLayoutIgnorePendingStylesheets().
      
      * accessibility/AccessibilityNodeObject.cpp:
      (WebCore::AccessibilityNodeObject::textUnderElement): Assert that
      the render tree is neither being updated nor needing updating.
      
      LayoutTests:
      
      Added a new test to check that we do not crash in certain
      scenarios when hiding objects and retriving accessibility
      information about it.
      
      * accessibility/heading-crash-after-hidden-expected.txt: Added.
      * accessibility/heading-crash-after-hidden.html: Added.
      
      Rebaselined expectations that were wrong before, since they were
      not returning the actual value that they should be returning when
      called AccessibilityUIElement::stringValue().
      
      * platform/efl-wk1/accessibility/file-upload-button-stringvalue-expected.txt:
      Updated, since the actual text being returned should be the actual
      value of the file chooser (e.g. "(None)") and not the text in the
      upload botton (e.g. "Choose files").
      * platform/efl-wk2/accessibility/file-upload-button-stringvalue-expected.txt: Ditto.
      * platform/gtk-wk2/accessibility/file-upload-button-stringvalue-expected.txt: Ditto..
      * platform/gtk/accessibility/file-upload-button-stringvalue-expected.txt: Ditto.
      
      * platform/gtk/accessibility/deleting-iframe-destroys-axcache-expected.txt:
      Updated, since the iframe should be exposed at all after deleting it.
      
      Removed accesibility test now passing after fixing this issue.
      
      * platform/gtk/TestExpectations: Removed accessibility/aria-used-on-image-maps.html.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156532 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ff8cf0fe
    • mario@webkit.org's avatar
      [ATK] Normalize checks in entry points for DRT and WKTR · 56824d2a
      mario@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=121959
      
      Reviewed by Chris Fleizach.
      
      Always check if we have a proper instance of AtkObject,
      implementing the interfaces that we might need for each case, at
      the entry point of every method of AccessibilityUIElement for ATK,
      and do those checks in an uniform way across DRT and WKTR, to
      avoid confusion and issues when modifying these files in the future.
      
      * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
      (AccessibilityUIElement::getChildren): Use normalized checks.
      (AccessibilityUIElement::getChildrenWithRange): Ditto.
      (AccessibilityUIElement::rowCount): Ditto.
      (AccessibilityUIElement::columnCount): Ditto.
      (AccessibilityUIElement::childrenCount): Ditto.
      (AccessibilityUIElement::elementAtPoint): Ditto.
      (AccessibilityUIElement::getChildAtIndex): Ditto.
      (AccessibilityUIElement::allAttributes): Ditto.
      (AccessibilityUIElement::titleUIElement): Ditto.
      (AccessibilityUIElement::parentElement): Ditto.
      (AccessibilityUIElement::attributesOfChildren): Ditto.
      (AccessibilityUIElement::role): Ditto.
      (AccessibilityUIElement::title): Ditto.
      (AccessibilityUIElement::description): Ditto.
      (AccessibilityUIElement::stringValue): Ditto.
      (AccessibilityUIElement::language): Ditto.
      (AccessibilityUIElement::x): Ditto.
      (AccessibilityUIElement::y): Ditto.
      (AccessibilityUIElement::width): Ditto.
      (AccessibilityUIElement::height): Ditto.
      (AccessibilityUIElement::orientation): Ditto.
      (AccessibilityUIElement::intValue): Ditto.
      (AccessibilityUIElement::minValue): Ditto.
      (AccessibilityUIElement::maxValue): Ditto.
      (indexRangeInTable): Ditto.
      (AccessibilityUIElement::cellForColumnAndRow): Ditto.
      (AccessibilityUIElement::stringAttributeValue): Ditto.
      (alterCurrentValue): Ditto.
      (AccessibilityUIElement::press): Ditto.
      (AccessibilityUIElement::documentEncoding): Ditto.
      (AccessibilityUIElement::documentURI): Ditto.
      (AccessibilityUIElement::hasPopup): Ditto.
      
      * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
      (WTR::indexRangeInTable): Use normalized checks.
      (WTR::alterCurrentValue): Ditto.
      (WTR::AccessibilityUIElement::getChildren): Ditto.
      (WTR::AccessibilityUIElement::getChildrenWithRange): Ditto.
      (WTR::AccessibilityUIElement::childrenCount): Ditto.
      (WTR::AccessibilityUIElement::elementAtPoint): Ditto.
      (WTR::AccessibilityUIElement::indexOfChild): Ditto.
      (WTR::AccessibilityUIElement::childAtIndex): Ditto.
      (WTR::AccessibilityUIElement::titleUIElement): Ditto.
      (WTR::AccessibilityUIElement::parentElement): Ditto.
      (WTR::AccessibilityUIElement::attributesOfChildren): Ditto.
      (WTR::AccessibilityUIElement::allAttributes): Ditto.
      (WTR::AccessibilityUIElement::stringAttributeValue): Ditto.
      (WTR::AccessibilityUIElement::role): Ditto.
      (WTR::AccessibilityUIElement::title): Ditto.
      (WTR::AccessibilityUIElement::description): Ditto.
      (WTR::AccessibilityUIElement::orientation): Ditto.
      (WTR::AccessibilityUIElement::stringValue): Ditto.
      (WTR::AccessibilityUIElement::language): Ditto.
      (WTR::AccessibilityUIElement::x): Ditto.
      (WTR::AccessibilityUIElement::y): Ditto.
      (WTR::AccessibilityUIElement::width): Ditto.
      (WTR::AccessibilityUIElement::height): Ditto.
      (WTR::AccessibilityUIElement::intValue): Ditto.
      (WTR::AccessibilityUIElement::minValue): Ditto.
      (WTR::AccessibilityUIElement::maxValue): Ditto.
      (WTR::AccessibilityUIElement::rowCount): Ditto.
      (WTR::AccessibilityUIElement::columnCount): Ditto.
      (WTR::AccessibilityUIElement::cellForColumnAndRow): Ditto.
      (WTR::AccessibilityUIElement::press): Ditto.
      (WTR::AccessibilityUIElement::documentEncoding): Ditto.
      (WTR::AccessibilityUIElement::documentURI): Ditto.
      (WTR::AccessibilityUIElement::hasPopup): Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156531 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      56824d2a
    • mario@webkit.org's avatar
      [ATK] accessibility/aria-sort.html is failing after r156409 · 9bf82618
      mario@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=121947
      
      Reviewed by Chris Fleizach.
      
      Source/WebCore:
      
      The WAI-ARIA spec says to translate the value as is from the
      attribute, so do just that instead of mapping values from the
      AccessibilitySortDirection enumeration into strings.
      http://www.w3.org/TR/wai-aria-implementation/#mapping_state-property
      
      * accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
      (webkitAccessibleGetAttributes): Do the right mapping for aria-sort.
      
      Tools:
      
      Implement AccessibilityUIElement::isSupported for the ATK
      platforms, just by checking whether we have an associated object
      attribute exposed for the wrapper object matching the required
      attribute in the layout test (e.g "AXSortDirection" -> "sort").
      
      * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
      (AccessibilityUIElement::isAttributeSupported): Implemented.
      * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
      (WTR::AccessibilityUIElement::isAttributeSupported): Implemented.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156530 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9bf82618
    • ryuan.choi@samsung.com's avatar
      [GCC] Fix build with gcc < 4.8.1, which does not have is_trivially_destructible · 6e0c02ce
      ryuan.choi@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=121999
      
      Patch by Gustavo Noronha Silva <gns@gnome.org> on 2013-09-27
      Reviewed by Benjamin Poulain.
      
      * wtf/StdLibExtras.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156529 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6e0c02ce
  2. 26 Sep, 2013 21 commits
    • gyuyoung.kim@samsung.com's avatar
      Sync toWebKitCSSShaderValue() behavior with other toCSSFooValue() · f18a7710
      gyuyoung.kim@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=121886
      
      Reviewed by Darin Adler.
      
      toWebKitCSSShaderValue() behavior is different from other to CSSFooValue().
      It shouldn't return null. The type checking should be done before doing type cast.
      
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::createCustomFilterOperationWithInlineSyntax):
      * css/WebKitCSSShaderValue.h:
      (WebCore::toWebKitCSSShaderValue):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156528 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f18a7710
    • antti@apple.com's avatar
      Move m_style to RenderElement · 1e9a3180
      antti@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=121936
      
      Source/WebCore: 
      
      Reviewed by Andreas Kling.
      
      Text renderers always have the same style as their parent. They can get their style via the parent pointer
      rather than having a member of their own.
              
      This shrinks RenderText by a pointer.
      
      * dom/PseudoElement.cpp:
      (WebCore::PseudoElement::didRecalcStyle):
              
          Text renderers have no independent style. No need to set it.
      
      * editing/ApplyBlockElementCommand.cpp:
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::addChildToAnonymousColumnBlocks):
              
          Avoid getting style from text child before it is added to tree.
      
      (WebCore::RenderBlock::updateFirstLetterStyle):
      (WebCore::RenderBlock::createFirstLetterRenderer):
      * rendering/RenderButton.cpp:
      (WebCore::RenderButton::styleDidChange):
      (WebCore::RenderButton::setText):
      * rendering/RenderCombineText.cpp:
      (WebCore::RenderCombineText::styleDidChange):
                      
          Don't set text style anymore.
      
      * rendering/RenderElement.cpp:
      (WebCore::RenderElement::RenderElement):
      (WebCore::RenderElement::setStyle):
              
          Notify child text renderers of style change.
      
      (WebCore::RenderElement::setAnimatableStyle):
      (WebCore::RenderElement::setPseudoStyle):
              
          Push down to RenderElement, remove text branches.
      
      (WebCore::RenderElement::addChild):
              
          Notify text renderers of style change when added to tree.
      
      (WebCore::RenderElement::propagateStyleToAnonymousChildren):
      * rendering/RenderElement.h:
      (WebCore::RenderElement::style):
      (WebCore::RenderElement::setStyleInternal):
              
          Move m_style from RenderObject.
      
      (WebCore::RenderObject::style):
              
          Inline this in RenderElement.h instead of making it virtual.
      
      * rendering/RenderInline.cpp:
      (WebCore::updateStyleOfAnonymousBlockContinuations):
      (WebCore::RenderInline::styleDidChange):
              
          Tighten typing to call RenderElement::setStyle.
      
      (WebCore::RenderInline::clippedOverflowRectForRepaint):
              
          Change assert. This can get legitimately called during layout for the first letter renderers.
          This was previously avoided by luck.
      
      * rendering/RenderMenuList.cpp:
      (WebCore::RenderMenuList::styleDidChange):
      (WebCore::RenderMenuList::setText):
              
          Don't set text style anymore.
      
      * rendering/RenderObject.cpp:
      (WebCore::RenderObject::RenderObject):
      (WebCore::RenderObject::containingBlock):
      (WebCore::RenderObject::drawLineForBoxSide):
      (WebCore::RenderObject::hasEntirelyFixedBackground):
      (WebCore::RenderObject::container):
      (WebCore::RenderObject::cachedFirstLineStyle):
      
          Switch to style(), avoid unnecessary repetition.
          Move code out.
      
      * rendering/RenderObject.h:
              
          Move functions to RenderElement.
      
      (WebCore::RenderObject::isBeforeContent):
      (WebCore::RenderObject::isAfterContent):
              
          Avoid accessing style for text renderers as these are called before the renderer
          is added to tree.
      
      (WebCore::RenderObject::setNeedsPositionedMovementLayout):
      * rendering/RenderRegion.cpp:
      (WebCore::RenderRegion::restoreRegionObjectsOriginalStyle):
      (WebCore::RenderRegion::setObjectStyleInRegion):
      * rendering/RenderSearchField.cpp:
      (WebCore::RenderSearchField::updateCancelButtonVisibility):
      * rendering/RenderText.cpp:
      * rendering/RenderText.h:
              
          Remove setStyle.
      
      (WebCore::RenderText::style):
              
          Get style from parent.
      
      * rendering/mathml/RenderMathMLOperator.cpp:
      (WebCore::RenderMathMLOperator::updateFromElement):
      (WebCore::RenderMathMLOperator::createGlyph):
      * rendering/style/ContentData.cpp:
      (WebCore::TextContentData::createRenderer):
      (WebCore::CounterContentData::createRenderer):
      (WebCore::QuoteContentData::createRenderer):
              
          Pseudo style for RenderText subclasses comes from parent without any explicit setting.
      
      * style/StyleResolveTree.cpp:
      (WebCore::Style::createTextRendererIfNeeded):
      (WebCore::Style::resolveLocal):
      (WebCore::Style::updateTextStyle):
      (WebCore::Style::resolveShadowTree):
      (WebCore::Style::resolveTree):
              
          No need to set or update text renderer style separately.
      
      LayoutTests: 
      
      Reviewed by Andreas Kling.
              
      Progressions from text style updating correctly in all cases.
      
      * compositing/contents-opaque/hidden-with-visible-text-expected.txt:
      * compositing/contents-opaque/visibility-hidden-expected.txt:
              
          Can't figure out why these progress but they do. The new rendering (showing nothing)
          is correct and matches Firefox.
      
      * platform/mac/svg/custom/SVGPoint-matrixTransform-expected.txt:
      * platform/mac/svg/custom/getTransformToElement-expected.txt:
      * platform/mac/svg/custom/text-ctm-expected.txt:
      * platform/mac/svg/custom/text-hit-test-expected.txt:
      * platform/mac/svg/text/append-text-node-to-tspan-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156527 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1e9a3180
    • andersca@apple.com's avatar
      "Build fix". · fc68893d
      andersca@apple.com authored
      We can't use std::move. Explicitly destroy the old value and then construct the new in place.
      
      * wtf/HashTable.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156526 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fc68893d
    • ggaren@apple.com's avatar
      Fixed a version number string in SunSpider 1.0.2 · d34c3be3
      ggaren@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=122004
      
      Reviewed by Gavin Barraclough.
      
      PerformanceTests/SunSpider: 
      
      * resources/driver-TEMPLATE.html:
      * resources/results-TEMPLATE.html: 1.0.2!
      
      Websites/webkit.org: 
      
      * perf/sunspider-1.0.2/sunspider-1.0.2/results.html: 1.0.2!
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156525 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d34c3be3
    • andersca@apple.com's avatar
      Use the move assignment operator when reinserting values in the hash map · c55ce128
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=122003
      
      Reviewed by Alexey Proskuryakov.
      
      Using the move assignment operator ensures that the existing values will be destroyed correctly.
      
      * wtf/HashTable.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156524 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c55ce128
    • ggaren@apple.com's avatar
      Tentative SunSpider 1.0.2 · 87c06d73
      ggaren@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=122002
      
      Reviewed by Gavin Barraclough.
      
      PerformanceTests/SunSpider: 
      
      Be even more aggressive about asking for zero delay between tests by
      setting a timeout at the beginning of a test instead of the end. This is
      another step toward reducing noise -- particularly noise caused by
      power management -- just like the step down from 10ms to 0ms.
      
      Browsers typically put a 4ms floor on timers. The sooner we set
      our timer, the sooner it will fire.
      
      * make-hosted:
      * resources/driver-TEMPLATE.html: Changed the driver to set the timeout
      earlier.
      * tests/sunspider-1.0.2: Added. These tests are unchanged from 1.0.1.
      
      Websites/webkit.org: 
      
      See comments in PerformanceTests/SunSpider.
      
      * perf/sunspider-1.0.2: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156523 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      87c06d73
    • eric.carlson@apple.com's avatar
      [MediaStream] make MediaStream testable · 01bf7eea
      eric.carlson@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=121967
      
      Reviewed by Dean Jackson.
      
      Source/WebCore: 
      
      No new tests, existing tests updated.
      
      * CMakeLists.txt: Add MockMediaStreamCenter.
      * GNUmakefile.list.am: Ditto.
      
      * Modules/mediastream/MediaStreamTrack.idl: Add SkipVTableValidation.
      * Modules/mediastream/NavigatorUserMediaError.idl: Add JSGenerateToJSObject.
      * WebCore.exp.in: Export MockMediaStreamCenter::registerMockMediaStreamCenter.
      
      * WebCore.xcodeproj/project.pbxproj: Add MockMediaStreamCenter.
      * dom/DOMError.h: Make the destructor virtual because it has a derived class.
      * dom/DOMError.idl:
      
      * platform/mock/MockMediaStreamCenter.cpp: Added.
      * platform/mock/MockMediaStreamCenter.h: Added.
      
      * testing/Internals.cpp: Register the mock stream center.
      
      Source/WebKit: 
      
      * WebKit.xcodeproj/project.pbxproj: Add WebUserMediaClient.
      
      Source/WebKit/mac: 
      
      * WebCoreSupport/WebUserMediaClient.h: Added.
      * WebCoreSupport/WebUserMediaClient.mm: Added.
      
      * WebView/WebUIDelegatePrivate.h: Declare decidePolicyForUserMediaRequestFromOrigin:listener:
      
      * WebView/WebView.mm:
      (-[WebView _commonInitializationWithFrameName:groupName:]): Register WebUserMediaClient.
      (-[WebView _setUserMediaClient:]): New.
      (-[WebView _userMediaClient]): New.
      * WebView/WebViewData.h:
      * WebView/WebViewPrivate.h:
      
      Tools: 
      
      * DumpRenderTree/mac/UIDelegate.mm:
      (-[UIDelegate webView:decidePolicyForUserMediaRequestFromOrigin:listener:]): Add a very permissive
          user media request policy delegate.
      
      LayoutTests: 
      
      * fast/mediastream/MediaStream-add-remove-tracks-expected.txt:
      * fast/mediastream/MediaStream-add-remove-tracks.html: Make the test results more understandable
          to simplify debugging failures.
      * fast/mediastream/MediaStream-onended-expected.txt:
      * fast/mediastream/MediaStream-onended.html: Ditto. Fix a test error: stopping stream A should
          not stop stream B even when it was created from stream A.
      * fast/mediastream/MediaStreamConstructor-expected.txt:
      * fast/mediastream/MediaStreamConstructor.html: Make the test results more understandable. Fix a
          logic errors: webkitMediaStream is an object, not a function. JSC does not support 
          object.constructor.name, use object.constructor.toString() instead.
      * fast/mediastream/MediaStreamTrackEvent-constructor-expected.txt:
      * fast/mediastream/MediaStreamTrackEvent-constructor.html: Update now that getUserMedia() works.
      * fast/mediastream/argument-types-expected.txt: Updated with "Failing" results because the correct 
          behavior is unknown. The spec says "the syntax for getUserMedia() is still under discussion".
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156522 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      01bf7eea
    • akling@apple.com's avatar
      GetterSetter construction should take a VM instead of ExecState. · 8370dec1
      akling@apple.com authored
      <https://webkit.org/b/121993>
      
      Reviewed by Sam Weinig.
      
      Pass VM& instead of ExecState* to GetterSetter. Updated surrounding
      code at touched sites to cache VM in a local for fewer loads.
      
      JSC release binary size -= 4120 bytes.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156521 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8370dec1
    • commit-queue@webkit.org's avatar
      Web Inspector: dissociate old content views that are spliced from back/forward list · 723c7a43
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=121987
      
      Patch by Brian J. Burg <burg@cs.washington.edu> on 2013-09-26
      Reviewed by Timothy Hatcher.
      
      There was a bug where old back/forward list entries were not being dissociated when
      the newly-shown content view was already in the list. Instead, dissociation should be
      skipped if the old list entry is not already in the list.
      
      * UserInterface/ContentViewContainer.js:
      (WebInspector.ContentViewContainer.prototype.showContentView):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156520 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      723c7a43
    • ap@apple.com's avatar
      Layout Test http/tests/inspector/network/network-iframe-load-and-delete.html is flaky · ee3f0264
      ap@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=121998
      
      * platform/mac/TestExpectations: Marking as such.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156519 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ee3f0264
    • oliver@apple.com's avatar
      Make GCC happy · d158362f
      oliver@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156518 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d158362f
    • bfulgham@apple.com's avatar
      [Windows] Unreviewed Build fix. · 534fbe23
      bfulgham@apple.com authored
      * WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in: Add missing
      symbol export to support tests.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156517 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      534fbe23
    • bfulgham@apple.com's avatar
      [Windows] Work around missing C++11 features of MSVC by providing an implementation for · cc3b92aa
      bfulgham@apple.com authored
      std::is_trivially_destructible based on the existing std::has_trivial_destructor.
      
      Rubber-stamped by Anders Carlsson.
      
      * wtf/StdLibExtras.h: Add implementation for is_trivially_destructable for MSVC 2010 and prior.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156516 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cc3b92aa
    • benjamin@webkit.org's avatar
      Move CSS MatchRequest from StyleResolver to a private definition in ElementRuleCollector · edfb5e37
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=121986
      
      Reviewed by Andreas Kling.
      
      MatchRequest is an internal type of ElementRuleCollector now, move the definition
      to ElementRuleCollector.
      
      * css/DocumentRuleSets.h:
      * css/ElementRuleCollector.h:
      (WebCore::ElementRuleCollector::MatchRequest::MatchRequest):
      * css/StyleResolver.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156515 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      edfb5e37
    • oliver@apple.com's avatar
      2013-09-25 Oliver Hunt <oliver@apple.com> · f1ae6d11
      oliver@apple.com authored
              Implement prefixed-destructuring assignment
              https://bugs.webkit.org/show_bug.cgi?id=121930
      
              Reviewed by Mark Hahnenberg.
      
              Relanding with fix after rollout
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156514 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f1ae6d11
    • bfulgham@apple.com's avatar
      [Windows] Unreviewed build fix after r156487. · 83f552d3
      bfulgham@apple.com authored
      Add explicit casting needed by MSVC to compile this code. Much
      of this could probably be removed when we move to VS2012 or newer.
      
      * bindings/js/JSEventListener.cpp:
      (WebCore::JSEventListener::JSEventListener):
      * bindings/js/JSEventListener.h:
      (WebCore::JSEventListener::jsFunction):
      * bridge/jsc/BridgeJSC.cpp:
      (JSC::Bindings::Instance::createRuntimeObject):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156513 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      83f552d3
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r156510. · eea5bc46
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/156510
      https://bugs.webkit.org/show_bug.cgi?id=121989
      
      Landed in-progress code along with build fix. (Requested by
      bfulgham on #webkit).
      
      * bindings/js/JSEventListener.cpp:
      (WebCore::JSEventListener::JSEventListener):
      * bindings/js/JSEventListener.h:
      (WebCore::JSEventListener::jsFunction):
      * bridge/jsc/BridgeJSC.cpp:
      (JSC::Bindings::Instance::createRuntimeObject):
      * platform/graphics/filters/FEGaussianBlur.cpp:
      (WebCore::FEGaussianBlur::platformApplyGeneric):
      (WebCore::FEGaussianBlur::platformApply):
      * platform/graphics/win/DIBPixelData.cpp:
      (WebCore::DIBPixelData::writeToFile):
      * platform/graphics/win/DIBPixelData.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156512 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eea5bc46
    • msaboff@apple.com's avatar
      VirtualRegister should be a class · 62aa8b77
      msaboff@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=121732
      
      Reviewed by Geoffrey Garen.
      
      This is a refactoring change.  Changed VirtualRegister from an enum to a class.
      Moved Operands::operandIsArgument(), operandToArgument(), argumentToOperand()
      and the similar functions for locals to VirtualRegister class.
      
      This is in preparation for changing the offset for the first local register from
      0 to -1.  This is needed since most native calling conventions have the architected
      frame pointer (e.g. %rbp for X86) point at the slot that stores the previous frame
      pointer.  Local values start below that address.
      
      * bytecode/CodeBlock.cpp:
      * bytecode/CodeBlock.h:
      * bytecode/Instruction.h:
      * bytecode/LazyOperandValueProfile.h:
      * bytecode/MethodOfGettingAValueProfile.cpp:
      * bytecode/Operands.h:
      * bytecode/UnlinkedCodeBlock.cpp:
      * bytecode/UnlinkedCodeBlock.h:
      * bytecode/ValueRecovery.h:
      * bytecode/VirtualRegister.h:
      * bytecompiler/BytecodeGenerator.cpp:
      * bytecompiler/BytecodeGenerator.h:
      * bytecompiler/RegisterID.h:
      * debugger/DebuggerCallFrame.cpp:
      * dfg/DFGAbstractHeap.h:
      * dfg/DFGAbstractInterpreterInlines.h:
      * dfg/DFGArgumentPosition.h:
      * dfg/DFGArgumentsSimplificationPhase.cpp:
      * dfg/DFGByteCodeParser.cpp:
      * dfg/DFGCFGSimplificationPhase.cpp:
      * dfg/DFGCPSRethreadingPhase.cpp:
      * dfg/DFGCapabilities.cpp:
      * dfg/DFGConstantFoldingPhase.cpp:
      * dfg/DFGFlushLivenessAnalysisPhase.cpp:
      * dfg/DFGGraph.cpp:
      * dfg/DFGGraph.h:
      * dfg/DFGJITCode.cpp:
      * dfg/DFGNode.h:
      * dfg/DFGOSREntry.cpp:
      * dfg/DFGOSREntrypointCreationPhase.cpp:
      * dfg/DFGOSRExit.h:
      * dfg/DFGOSRExitCompiler32_64.cpp:
      * dfg/DFGOSRExitCompiler64.cpp:
      * dfg/DFGRegisterBank.h:
      * dfg/DFGScoreBoard.h:
      * dfg/DFGSpeculativeJIT.cpp:
      * dfg/DFGSpeculativeJIT.h:
      * dfg/DFGSpeculativeJIT32_64.cpp:
      * dfg/DFGSpeculativeJIT64.cpp:
      * dfg/DFGValidate.cpp:
      * dfg/DFGValueRecoveryOverride.h:
      * dfg/DFGVariableAccessData.h:
      * dfg/DFGVariableEvent.h:
      * dfg/DFGVariableEventStream.cpp:
      * dfg/DFGVirtualRegisterAllocationPhase.cpp:
      * ftl/FTLExitArgumentForOperand.h:
      * ftl/FTLLink.cpp:
      * ftl/FTLLowerDFGToLLVM.cpp:
      * ftl/FTLOSREntry.cpp:
      * ftl/FTLOSRExit.cpp:
      * ftl/FTLOSRExit.h:
      * ftl/FTLOSRExitCompiler.cpp:
      * interpreter/CallFrame.h:
      * interpreter/Interpreter.cpp:
      * jit/AssemblyHelpers.h:
      * jit/JIT.h:
      * jit/JITCall.cpp:
      * jit/JITCall32_64.cpp:
      * jit/JITInlines.h:
      * jit/JITOpcodes.cpp:
      * jit/JITOpcodes32_64.cpp:
      * jit/JITPropertyAccess32_64.cpp:
      * jit/JITStubs.cpp:
      * llint/LLIntSlowPaths.cpp:
      * profiler/ProfilerBytecodeSequence.cpp:
      * runtime/CommonSlowPaths.cpp:
      * runtime/JSActivation.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156511 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      62aa8b77
    • bfulgham@apple.com's avatar
      [Windows] Unreviewed build fix after r156487. · 9895ebde
      bfulgham@apple.com authored
      Add explicit casting needed by MSVC to compile this code. Much
      of this could probably be removed when we move to VS2012 or newer.
      
      * bindings/js/JSEventListener.cpp:
      (WebCore::JSEventListener::JSEventListener):
      * bindings/js/JSEventListener.h:
      (WebCore::JSEventListener::jsFunction):
      * bridge/jsc/BridgeJSC.cpp:
      (JSC::Bindings::Instance::createRuntimeObject):
      * platform/graphics/filters/FEGaussianBlur.cpp:
      (WebCore::FEGaussianBlur::platformApplyGeneric):
      (WebCore::FEGaussianBlur::platformApply):
      * platform/graphics/win/DIBPixelData.cpp:
      (WebCore::DIBPixelData::DIBPixelData):
      (WebCore::DIBPixelData::writeToFile):
      * platform/graphics/win/DIBPixelData.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156510 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9895ebde
    • ap@apple.com's avatar
      Flaky Test: transitions/cancel-transition.html · 121cef55
      ap@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=114193
      
      * platform/mac/TestExpectations: Marking as flaky. Dean says that such tests are
      currently broken by design.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156509 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      121cef55
    • andersca@apple.com's avatar
      Remove Windows code · b2a78dd6
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=121988
      
      Reviewed by Antti Koivisto.
      
      * Platform/CoreIPC/Connection.h:
      * Platform/CoreIPC/win/ConnectionWin.cpp: Removed.
      * Platform/SharedMemory.h:
      * Platform/WorkQueue.h:
      * Platform/win/SharedMemoryWin.cpp: Removed.
      * Platform/win/WorkQueueWin.cpp: Removed.
      * Shared/ChildProcess.cpp:
      * Shared/ChildProcessProxy.cpp:
      (WebKit::ChildProcessProxy::didFinishLaunching):
      * UIProcess/Plugins/PluginInfoStore.cpp:
      (WebKit::PluginInfoStore::loadPluginsIfNecessary):
      * WebProcess/WebProcess.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156508 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b2a78dd6