1. 02 Jun, 2012 10 commits
    • tonikitoo@webkit.org's avatar
      [BlackBerry] browser video player fullscreen mode (portrait) - out of... · af63823e
      tonikitoo@webkit.org authored
      [BlackBerry] browser video player fullscreen mode (portrait) - out of screen/focus - cannot navigate or use the buttons on the screen (PART III)
      https://bugs.webkit.org/show_bug.cgi?id=88019
      
      Reviewed by George Staikos.
      Patch by Antonio Gomes <agomes@rim.com>
      
      Enter 'pure-with-mouse-conversion' mode when going fullscreen, so
      that it prevents user from scrolling the WebPage, pinch zooming,
      touch-and-hold, enter selection mode, etc ...
      
      Internally reviewed by Gen Mak.
      
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPagePrivate::WebPagePrivate):
      (BlackBerry::WebKit::WebPagePrivate::enterFullScreenForElement):
      (BlackBerry::WebKit::WebPagePrivate::exitFullScreenForElement):
      * Api/WebPage_p.h:
      (WebPagePrivate):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119322 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      af63823e
    • tonikitoo@webkit.org's avatar
      [BlackBerry] browser video player fullscreen mode (portrait) - out of... · 78e88f52
      tonikitoo@webkit.org authored
      [BlackBerry] browser video player fullscreen mode (portrait) - out of screen/focus - cannot navigate or use the buttons on the screen (PART II)
      https://bugs.webkit.org/show_bug.cgi?id=88019
      
      Reviewed by George Staikos.
      Patch by Antonio Gomes <agomes@rim.com>
      
      When an element goes fullscreen, its wrapper/container obeys all
      BlackBerry specific fixed position customizations: we fixed
      against Y, but not X. Then, in order to have the wrapper element
      properly positioned when entering fullscreen mode, we
      temporarily scroll x to 0.
      
      The original x scroll position is restored when we leave
      fullscreen.
      
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPagePrivate::WebPagePrivate):
      (BlackBerry::WebKit::WebPagePrivate::enterFullScreenForElement):
      (BlackBerry::WebKit::WebPagePrivate::exitFullScreenForElement):
      * Api/WebPage_p.h:
      (WebPagePrivate):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119321 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      78e88f52
    • tonikitoo@webkit.org's avatar
      [BlackBerry] browser video player fullscreen mode (portrait) - out of... · 7a4748f9
      tonikitoo@webkit.org authored
      [BlackBerry] browser video player fullscreen mode (portrait) - out of screen/focus - cannot navigate or use the buttons on the screen (PART I)
      https://bugs.webkit.org/show_bug.cgi?id=88019
      PR #158266
      
      Reviewed by George Staikos.
      Patch by Antonio Gomes <agomes@rim.com>
      
      The way elements go fullscreen with the new FULLSCREEN_API
      is that they get cloned and added to an out-of-DOM wrapper
      element. The wrapper is a normal fixed position element and
      then zoom in/out accordingly to how other layers do: following
      WebPage's scale.
      
      When going fullscreen, we have to take the current WebPage scale
      into account in order to properly fit the element to the screen,
      regardless the web page scale.
      
      * WebCoreSupport/ChromeClientBlackBerry.cpp:
      (WebCore):
      (WebCore::ChromeClientBlackBerry::fullScreenRendererChanged):
      * WebCoreSupport/ChromeClientBlackBerry.h:
      (ChromeClientBlackBerry):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119320 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7a4748f9
    • ossy@webkit.org's avatar
      [Qt] Unreviewed fix after r119255. · 5df75cc3
      ossy@webkit.org authored
      * platform/qt/svg/css/getComputedStyle-basic-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119319 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5df75cc3
    • zeno.albisser@nokia.com's avatar
      Fix and enable WebGL for WebKit2 on Qt. · c8595fd2
      zeno.albisser@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=86214
      
      Source/WebCore:
      
      Make GraphicsContext3DPrivate use GraphicsSurfaces
      for WK2. The GraphicsContext3D then uses the existing
      RenderBuffer for multisample rendering.
      When WebGraphicsLayer::syncCompositingState is being
      executed, the canvas is being synced as well. This means
      that the RenderBuffer contents are being blit onto
      a GraphicsSurface, and the GraphicsSurface token is
      being sent to the UIProcess.
      The WebLayerTreeRenderer then creates a
      TextureMapperSurfaceBackingStore for the canvas and
      passes the GraphicsSurface token as an argument.
      The token can then be used to identify the GraphicsSurface
      from the UIProcess side.
      
      Reviewed by Noam Rosenthal.
      
      * platform/graphics/GraphicsContext3D.h:
      Added createGraphicsSurfaces function. This is currently only
      being used by the Qt port.
      
      * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
      (WebCore::GraphicsContext3D::reshape):
      Calling the createGraphicsSurfaces function when the GraphicsContext3D
      is reshaped. This is currently only relevant for the Qt port.
      
      * platform/graphics/qt/GraphicsContext3DQt.cpp:
      (GraphicsContext3DPrivate):
      Added m_frontBufferGraphicsSurface, m_backBufferGraphicsSurface
      and m_surfaceFlags members.
      (WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
      In case of WK2, create a QOpenGLContext and two GraphicsSurface
      for sharing the WebGL content with the UIProcess. One GraphicsSurface
      is being used as the front, the other one as the backbuffer.
      Creating a QOpenGLContext currently requires showing a QWindow.
      For the moment we therefore create a minimal QWindow and place
      it offscreen.
      (WebCore::GraphicsContext3DPrivate::copyToGraphicsSurface):
      This new function is called from the WebGraphicsLayer,
      to blit the multisample framebuffer and copy its contents
      onto the GraphicsSurface.
      (WebCore::GraphicsContext3DPrivate::createGraphicsSurfaces):
      Whenever the GraphicsContext3D is being reshaped,
      new GraphicsSurfaces must be created with the updated dimensions.
      (WebCore::GraphicsContext3D::createGraphicsSurfaces):
      
      * platform/graphics/texmap/TextureMapperPlatformLayer.h:
      Added a new virtual function copyToGraphicsSurface.
      (TextureMapperPlatformLayer):
      (WebCore::TextureMapperPlatformLayer::copyToGraphicsSurface):
      
      Source/WebKit2:
      
      Added glue code to make use of GraphicsSurface
      as a backend for the webgl-canvas in case of WK2.
      
      Reviewed by Noam Rosenthal.
      
      * UIProcess/API/qt/qwebpreferences.cpp:
      (QWebPreferencesPrivate::testAttribute):
      (QWebPreferencesPrivate::setAttribute):
      (QWebPreferences::webGLEnabled):
      (QWebPreferences::setWebGLEnabled):
      * UIProcess/API/qt/qwebpreferences_p.h:
      * UIProcess/API/qt/qwebpreferences_p_p.h:
      Added WebGLEnabled enum to allow enabling/disabling of
      WebGL using QWebPreferences.
      
      * UIProcess/LayerTreeHostProxy.cpp:
      (WebKit::LayerTreeHostProxy::syncCanvas):
      Dispatch syncCanvas calls to the apropriate
      WebLayerTreeRenderer.
      
      * UIProcess/LayerTreeHostProxy.h:
      (LayerTreeHostProxy):
      * UIProcess/LayerTreeHostProxy.messages.in:
      * UIProcess/WebLayerTreeRenderer.h:
      (WebLayerTreeRenderer):
      * UIProcess/WebLayerTreeRenderer.cpp:
      (WebKit::WebLayerTreeRenderer::syncCanvas):
      (WebKit::WebLayerTreeRenderer::deleteLayer):
      (WebKit::WebLayerTreeRenderer::purgeGLResources):
      Create a TextureMapperSurfaceBackingStore for the canvas
      if necessary and pass or update the graphicsSurfaceToken
      for to be used with the backing store.
      
      * WebProcess/WebCoreSupport/WebGraphicsLayer.cpp:
      (WebCore::WebGraphicsLayer::WebGraphicsLayer):
      (WebCore):
      (WebCore::WebGraphicsLayer::setContentsToCanvas):
      (WebCore::WebGraphicsLayer::syncCanvas):
      Copy the multisample framebuffer contents onto the GraphicsSurface.
      Notify the UIProcess of the availability of a new texture.
      (WebCore::WebGraphicsLayer::syncCompositingStateForThisLayerOnly):
      Sync the canvas as well.
      
      * WebProcess/WebCoreSupport/WebGraphicsLayer.h:
      Added a pure virtual function syncCanvas.
      This is guarded by PLATFORM(QT).
      (WebGraphicsLayerClient):
      (WebGraphicsLayer):
      
      * WebProcess/WebPage/qt/LayerTreeHostQt.cpp:
      (WebKit::LayerTreeHostQt::syncLayerChildren):
      (WebKit):
      (WebKit::LayerTreeHostQt::syncCanvas):
      * WebProcess/WebPage/qt/LayerTreeHostQt.h:
      (LayerTreeHostQt):
      
      Tools:
      
      Enable WebGL by default for Qt MiniBrowser.
      
      Reviewed by Noam Rosenthal.
      
      * MiniBrowser/qt/qml/BrowserWindow.qml:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119318 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c8595fd2
    • rniwa@webkit.org's avatar
      Tools: Teach svn-apply how to apply changes in test_expectations.txt to TestExpectations · 24af2f9b
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=88164
      
      Reviewed by Kentaro Hara.
      
      Just like r74856, adjust git/svn headers from test_expectations.txt to TestExpectations.
      Also replace all occurrences of /test_expectations.txt: by /TestExpectations: in change log entries.
      
      * Scripts/VCSUtils.pm:
      (adjustPathForRecentRenamings):
      (fixChangeLogPatch):
      
      LayoutTests: Rename test_expectations.txt to TestExpectations.
      
      * platform/chromium/TestExpectations: Copied from LayoutTests/platform/chromium/test_expectations.txt.
      * platform/chromium/test_expectations.txt: Removed.
      * platform/efl/TestExpectations: Copied from LayoutTests/platform/efl/test_expectations.txt.
      * platform/efl/test_expectations.txt: Removed.
      * platform/gtk/TestExpectations: Copied from LayoutTests/platform/gtk/test_expectations.txt.
      * platform/gtk/test_expectations.txt: Removed.
      * platform/mac/TestExpectations: Copied from LayoutTests/platform/mac/test_expectations.txt.
      * platform/mac/test_expectations.txt: Removed.
      * platform/qt/TestExpectations: Copied from LayoutTests/platform/qt/test_expectations.txt.
      * platform/qt/test_expectations.txt: Removed.
      * platform/win/TestExpectations: Copied from LayoutTests/platform/win/test_expectations.txt.
      * platform/win/test_expectations.txt: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119317 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      24af2f9b
    • tony@chromium.org's avatar
      Rename the flexbox CSS propery values from start to flex-start and end to flex-end · 354e7e94
      tony@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=88152
      
      Reviewed by Ojan Vafai.
      
      Source/WebCore:
      
      The spec changed. This is to differentiate from start/end which will
      depend on writing mode direction, rather than flex direction.
      
      No new tests, just updated the existing values.
      
      * css/CSSParser.cpp:
      (WebCore::isValidKeywordPropertyAndValue):
      * css/CSSPrimitiveValueMappings.h:
      (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
      (WebCore::CSSPrimitiveValue::operator EAlignItems):
      (WebCore::CSSPrimitiveValue::operator EJustifyContent):
      (WebCore::CSSPrimitiveValue::operator EAlignContent):
      * css/CSSValueKeywords.in:
      * rendering/RenderFlexibleBox.cpp:
      (WebCore::initialJustifyContentOffset):
      (WebCore::alignmentForChild):
      (WebCore::initialAlignContentOffset):
      (WebCore::RenderFlexibleBox::alignFlexLines):
      (WebCore::RenderFlexibleBox::alignChildren):
      * rendering/style/RenderStyle.h:
      * rendering/style/RenderStyleConstants.h:
      
      LayoutTests:
      
      Rename start to flex-start and end to flex-end.
      
      * css3/flexbox/css-properties-expected.txt:
      * css3/flexbox/css-properties.html:
      * css3/flexbox/flex-align-column.html:
      * css3/flexbox/flex-align-end.html:
      * css3/flexbox/flex-align-vertical-writing-mode.html:
      * css3/flexbox/flex-align.html:
      * css3/flexbox/flex-pack.html:
      * css3/flexbox/line-wrapping.html:
      * css3/flexbox/multiline-align.html:
      * css3/flexbox/multiline-column-auto.html:
      * css3/flexbox/multiline-line-pack-horizontal-column-expected.txt:
      * css3/flexbox/multiline-line-pack-horizontal-column.html:
      * css3/flexbox/multiline-line-pack.html:
      * css3/flexbox/multiline-pack-expected.txt:
      * css3/flexbox/multiline-pack.html:
      * css3/flexbox/multiline-reverse-wrap-baseline.html:
      * css3/flexbox/multiline-reverse-wrap-overflow.html:
      * css3/flexbox/multiline-shrink-to-fit.html:
      * css3/flexbox/multiline.html:
      * css3/flexbox/nested-stretch.html:
      * css3/flexbox/orthogonal-flex-directions.html:
      * platform/chromium-linux-x86/svg/css/getComputedStyle-basic-expected.txt:
      * platform/chromium-linux/svg/css/getComputedStyle-basic-expected.txt:
      * platform/chromium-mac-leopard/svg/css/getComputedStyle-basic-expected.txt:
      * platform/chromium-mac-snowleopard/svg/css/getComputedStyle-basic-expected.txt:
      * platform/chromium-mac/svg/css/getComputedStyle-basic-expected.txt:
      * platform/chromium-win-vista/svg/css/getComputedStyle-basic-expected.txt:
      * platform/chromium-win-xp/svg/css/getComputedStyle-basic-expected.txt:
      * platform/chromium-win/svg/css/getComputedStyle-basic-expected.txt:
      * platform/gtk/svg/css/getComputedStyle-basic-expected.txt:
      * platform/mac/svg/css/getComputedStyle-basic-expected.txt:
      * platform/qt/svg/css/getComputedStyle-basic-expected.txt:
      * svg/css/getComputedStyle-basic-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119316 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      354e7e94
    • commit-queue@webkit.org's avatar
      [Qt] Use 'Ok' and 'Cancel' buttons in JavaScript confirm box. · a22594fb
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=76190
      Based on Johannes Obermayrs (johannesobermayr@gmx.de) patch.
      See: http://www.javascripter.net/faq/confirm.htm
      Fixes: https://bugs.kde.org/show_bug.cgi?id=287629
      
      Patch by Zoltan Arvai <zarvai@inf.u-szeged.hu> on 2012-06-02
      Reviewed by Simon Hausmann.
      
      * Api/qwebpage.cpp:
      (QWebPage::javaScriptConfirm):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119315 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a22594fb
    • rniwa@webkit.org's avatar
      Rename test_expectations.txt to TestExpectations · 6ab7bc99
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=86690
      
      Reviewed by Dirk Pranke.
      
      Make webkitpy aware of both test_expectations.txt and TestExpectations while we rename files.
      We can the code to read test_expectations.txt once we've successfully transitioned.
      
      * Scripts/webkitpy/layout_tests/models/test_expectations.py:
      (TestExpectationParser._check_path_does_not_exist):
      (TestExpectationParser._tokenize):
      (TestExpectations): Removed TEST_LIST, which is not used anywhere.
      * Scripts/webkitpy/layout_tests/port/base.py:
      (Port.path_to_test_expectations_file): Moved from WebKitPort and ChromiumPort. Returns the path to
      test_expectations.txt if one exists and the path to TestExpectations otherwise.
      * Scripts/webkitpy/layout_tests/port/base_unittest.py:
      (PortTest.test_virtual_methods): path_to_test_expectations_file and test_expectations are no longer
      virtual.
      * Scripts/webkitpy/layout_tests/port/chromium.py:
      (ChromiumPort.path_from_chromium_base):
      * Scripts/webkitpy/layout_tests/port/chromium_android.py:
      (ChromiumAndroidPort.test_expectations):
      * Scripts/webkitpy/layout_tests/port/test.py:
      (add_unit_tests_to_mock_filesystem): Use TestExpectations instead of test_expectations.txt.
      (TestPort.__init__):
      * Scripts/webkitpy/layout_tests/port/webkit.py:
      (WebKitPort.baseline_search_path):
      (WebKitPort.test_expectations):
      * Scripts/webkitpy/layout_tests/port/webkit_unittest.py: Added some test cases. We should move these
      tests to base as a follow up.
      (WebKitPortTest.test_path_to_test_expectations_file):
      (test_test_expectations):
      (test_legacy_test_expectations):
      * Scripts/webkitpy/style/checker.py:
      (CheckerDispatcher.should_skip_without_warning): Replace the check for legacy drt_expectations.txt
      with one for TestExpectations.
      * Scripts/webkitpy/style/checkers/test_expectations.py:
      (TestExpectationsChecker): Accept both test_expectations.txt and TestExpectations in warning outputs.
      * Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
      (TestExpectationsTestCase._expect_port_for_expectations_path): Test both TestExpectations and
      test_expectations.txt.
      (TestExpectationsTestCase.test_determine_port_from_expectations_path):
      (TestExpectationsTestCase.assert_lines_lint):
      * Scripts/webkitpy/tool/commands/queries.py:
      (PrintExpectations.__init__):
      * Scripts/webkitpy/tool/commands/rebaseline.py:
      (RebaselineExpectations):
      * Scripts/webkitpy/tool/steps/commit.py:
      (Commit._check_test_expectations):
      * Scripts/webkitpy/tool/steps/commit_unittest.py:
      (CommitTest._test_check_test_expectations): Extracted from test_check_test_expectations.
      (CommitTest.test_check_test_expectations): For TestExpectations.
      (CommitTest.test_check_legacy_test_expectations): For test_expectations.txt
      * TestResultServer/static-dashboards/dashboard_base.js:
      (requestExpectationsFile): Look for TestExpectations first, and fallback to test_expectations.txt.
      Error only when neither exists.
      * TestResultServer/static-dashboards/flakiness_dashboard.js:
      (processMissingAndExtraExpectations):
      (htmlForTestsWithExpectationsButNoFailures):
      * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119314 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6ab7bc99
    • commit-queue@webkit.org's avatar
      [chromium] Software compositor initialization and base classes · a18d5395
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=87920
      
      Patch by Alexandre Elias <aelias@google.com> on 2012-06-01
      Reviewed by James Robinson.
      
      Source/Platform:
      
      Add a new setting to force software compositing.  In this mode,
      no GraphicsContext3D should ever be created.
      
      * chromium/public/WebLayerTreeView.h:
      (WebKit::WebLayerTreeView::Settings::Settings):
      (Settings):
      
      Source/WebCore:
      
      This introduces new wrapper class CCGraphicsContext and base class
      CCRenderer which will be used for software compositing support.
      If no GraphicsContext3D is available, early return for now.
      
      No new tests. (No-op change in 3d mode.)
      
      * platform/graphics/chromium/BitmapCanvasLayerTextureUpdater.cpp:
      (WebCore::BitmapCanvasLayerTextureUpdater::Texture::updateRect):
      (WebCore::BitmapCanvasLayerTextureUpdater::updateTextureRect):
      * platform/graphics/chromium/BitmapCanvasLayerTextureUpdater.h:
      (Texture):
      (BitmapCanvasLayerTextureUpdater):
      * platform/graphics/chromium/BitmapSkPictureCanvasLayerTextureUpdater.cpp:
      (WebCore::BitmapSkPictureCanvasLayerTextureUpdater::Texture::updateRect):
      (WebCore::BitmapSkPictureCanvasLayerTextureUpdater::updateTextureRect):
      * platform/graphics/chromium/BitmapSkPictureCanvasLayerTextureUpdater.h:
      (Texture):
      (BitmapSkPictureCanvasLayerTextureUpdater):
      * platform/graphics/chromium/CanvasLayerTextureUpdater.h:
      * platform/graphics/chromium/FrameBufferSkPictureCanvasLayerTextureUpdater.cpp:
      (WebCore::FrameBufferSkPictureCanvasLayerTextureUpdater::Texture::updateRect):
      (WebCore::FrameBufferSkPictureCanvasLayerTextureUpdater::updateTextureRect):
      * platform/graphics/chromium/FrameBufferSkPictureCanvasLayerTextureUpdater.h:
      (Texture):
      (FrameBufferSkPictureCanvasLayerTextureUpdater):
      * platform/graphics/chromium/ImageLayerChromium.cpp:
      (WebCore::ImageLayerTextureUpdater::Texture::updateRect):
      (WebCore::ImageLayerTextureUpdater::updateTextureRect):
      * platform/graphics/chromium/LayerChromium.h:
      (WebCore):
      * platform/graphics/chromium/LayerRendererChromium.cpp:
      (WebCore::CCRenderer::toGLMatrix):
      (WebCore):
      (WebCore::LayerRendererChromium::create):
      (WebCore::CCRenderer::CCRenderer):
      (WebCore::LayerRendererChromium::LayerRendererChromium):
      (WebCore::LayerRendererChromium::copyPlaneToTexture):
      (WebCore::LayerRendererChromium::drawHeadsUpDisplay):
      (WebCore::LayerRendererChromium::getFramebufferTexture):
      (WebCore::LayerRendererChromium::bindFramebufferToTexture):
      * platform/graphics/chromium/LayerRendererChromium.h:
      (CCRenderer):
      (WebCore::CCRenderer::~CCRenderer):
      (WebCore::CCRenderer::ccContext):
      (WebCore::CCRenderer::settings):
      (WebCore::CCRenderer::viewportSize):
      (WebCore::CCRenderer::viewportWidth):
      (WebCore::CCRenderer::viewportHeight):
      (WebCore::CCRenderer::projectionMatrix):
      (WebCore::CCRenderer::windowMatrix):
      (WebCore::CCRenderer::sharedGeometryQuad):
      (WebCore):
      (LayerRendererChromium):
      * platform/graphics/chromium/LayerTextureSubImage.cpp:
      (WebCore::LayerTextureSubImage::upload):
      (WebCore::LayerTextureSubImage::uploadWithTexSubImage):
      (WebCore::LayerTextureSubImage::uploadWithMapTexSubImage):
      * platform/graphics/chromium/LayerTextureSubImage.h:
      (WebCore):
      (LayerTextureSubImage):
      * platform/graphics/chromium/LayerTextureUpdater.h:
      (WebCore):
      (Texture):
      * platform/graphics/chromium/ManagedTexture.cpp:
      (WebCore::ManagedTexture::bindTexture):
      (WebCore::ManagedTexture::framebufferTexture2D):
      * platform/graphics/chromium/ManagedTexture.h:
      (WebCore):
      (ManagedTexture):
      * platform/graphics/chromium/RenderSurfaceChromium.cpp:
      * platform/graphics/chromium/TextureCopier.cpp:
      (WebCore::AcceleratedTextureCopier::copyTexture):
      * platform/graphics/chromium/TextureCopier.h:
      (TextureCopier):
      (AcceleratedTextureCopier):
      * platform/graphics/chromium/TextureUploader.h:
      (TextureUploader):
      * platform/graphics/chromium/ThrottledTextureUploader.cpp:
      (WebCore::ThrottledTextureUploader::uploadTexture):
      * platform/graphics/chromium/ThrottledTextureUploader.h:
      (ThrottledTextureUploader):
      * platform/graphics/chromium/cc/CCGraphicsContext.h: Copied from Source/WebCore/platform/graphics/chromium/CanvasLayerTextureUpdater.h.
      (WebCore):
      (CCGraphicsContext):
      (WebCore::CCGraphicsContext::create2D):
      (WebCore::CCGraphicsContext::create3D):
      (WebCore::CCGraphicsContext::context3D):
      (WebCore::CCGraphicsContext::CCGraphicsContext):
      * platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp:
      (WebCore::CCHeadsUpDisplay::draw):
      * platform/graphics/chromium/cc/CCLayerImpl.cpp:
      (WebCore::CCLayerImpl::willDraw):
      (WebCore::CCLayerImpl::bindContentsTexture):
      * platform/graphics/chromium/cc/CCLayerImpl.h:
      (WebCore):
      (CCLayerImpl):
      * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
      (WebCore::CCLayerTreeHost::createContext):
      (WebCore::CCLayerTreeHost::context):
      * platform/graphics/chromium/cc/CCLayerTreeHost.h:
      (CCLayerTreeHostClient):
      (WebCore::CCSettings::CCSettings):
      (CCSettings):
      (CCLayerTreeHost):
      * platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
      (WebCore::CCLayerTreeHostImpl::context):
      (WebCore::CCLayerTreeHostImpl::initializeLayerRenderer):
      * platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
      (CCLayerTreeHostImpl):
      (WebCore::CCLayerTreeHostImpl::layerRenderer):
      * platform/graphics/chromium/cc/CCProxy.h:
      (WebCore):
      (CCProxy):
      * platform/graphics/chromium/cc/CCScrollbarLayerImpl.cpp:
      (WebCore::CCScrollbarLayerImpl::willDraw):
      * platform/graphics/chromium/cc/CCScrollbarLayerImpl.h:
      (CCScrollbarLayerImpl):
      * platform/graphics/chromium/cc/CCSingleThreadProxy.cpp:
      (WebCore::CCSingleThreadProxy::context):
      (WebCore::CCSingleThreadProxy::initializeContext):
      (WebCore::CCSingleThreadProxy::recreateContext):
      * platform/graphics/chromium/cc/CCSingleThreadProxy.h:
      (CCSingleThreadProxy):
      * platform/graphics/chromium/cc/CCTextureUpdater.cpp:
      (WebCore::CCTextureUpdater::update):
      * platform/graphics/chromium/cc/CCTextureUpdater.h:
      (CCTextureUpdater):
      * platform/graphics/chromium/cc/CCThreadProxy.cpp:
      (WebCore::CCThreadProxy::context):
      (WebCore::CCThreadProxy::initializeContext):
      (WebCore::CCThreadProxy::recreateContext):
      (WebCore::CCThreadProxy::beginFrame):
      (WebCore::CCThreadProxy::initializeContextOnImplThread):
      (WebCore::CCThreadProxy::recreateContextOnImplThread):
      * platform/graphics/chromium/cc/CCThreadProxy.h:
      (CCThreadProxy):
      * platform/graphics/chromium/cc/CCVideoLayerImpl.cpp:
      (WebCore::CCVideoLayerImpl::willDraw):
      (WebCore::CCVideoLayerImpl::willDrawInternal):
      (WebCore::CCVideoLayerImpl::reserveTextures):
      * platform/graphics/chromium/cc/CCVideoLayerImpl.h:
      (CCVideoLayerImpl):
      
      Source/WebKit/chromium:
      
      Add a new setting to force software compositing.  In this mode,
      no GraphicsContext3D should ever be created.
      
      * public/WebSettings.h:
      * src/WebLayerTreeView.cpp:
      (WebKit::WebLayerTreeView::Settings::operator CCSettings):
      (WebKit::WebLayerTreeView::context):
      * src/WebLayerTreeViewImpl.cpp:
      * src/WebSettingsImpl.cpp:
      (WebKit::WebSettingsImpl::WebSettingsImpl):
      (WebKit::WebSettingsImpl::setForceSoftwareCompositing):
      (WebKit):
      * src/WebSettingsImpl.h:
      (WebSettingsImpl):
      (WebKit::WebSettingsImpl::forceSoftwareCompositing):
      * src/WebViewImpl.cpp:
      (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
      (WebKit::WebViewImpl::createCompositorGraphicsContext3D):
      (WebKit::WebViewImpl::createContext3D):
      * tests/CCLayerTreeHostImplTest.cpp:
      (WebKitTests::CCLayerTreeHostImplTest::createContext):
      (WebKitTests::TEST_F):
      * tests/CCLayerTreeHostTest.cpp:
      (WTF::CCLayerTreeHostTestAtomicCommit::commitCompleteOnCCThread):
      (WTF::CCLayerTreeHostTestAtomicCommit::drawLayersOnCCThread):
      (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::commitCompleteOnCCThread):
      (WTF::CCLayerTreeHostTestAtomicCommitWithPartialUpdate::drawLayersOnCCThread):
      * tests/CCTiledLayerTestCommon.cpp:
      (WebKitTests::FakeLayerTextureUpdater::Texture::updateRect):
      * tests/CCTiledLayerTestCommon.h:
      (Texture):
      (WebKitTests::FakeTextureCopier::copyTexture):
      (WebKitTests::FakeTextureUploader::uploadTexture):
      * tests/Canvas2DLayerChromiumTest.cpp:
      (Canvas2DLayerChromiumTest::fullLifecycleTest):
      * tests/FakeCCLayerTreeHostClient.h:
      * tests/LayerRendererChromiumTest.cpp:
      (FakeLayerRendererChromium::FakeLayerRendererChromium):
      (LayerRendererChromiumTest::LayerRendererChromiumTest):
      (LayerRendererChromiumTest):
      (TEST):
      * tests/TextureCopierTest.cpp:
      * tests/TiledLayerChromiumTest.cpp:
      (WTF::TEST):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119313 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a18d5395
  2. 01 Jun, 2012 30 commits
    • rniwa@webkit.org's avatar
      Suppress text diff on http/tests/media/video-buffered.html on Chromium Leopard as · 866672c0
      rniwa@webkit.org authored
      it has been failing on Leopard since it was re-enabled in http://trac.webkit.org/changeset/119268.
      The failure is tracked by the bug 88160.
      
      * platform/chromium/test_expectations.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119312 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      866672c0
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r119283, r119287, and r119291. · 142fc34f
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/119283
      http://trac.webkit.org/changeset/119287
      http://trac.webkit.org/changeset/119291
      https://bugs.webkit.org/show_bug.cgi?id=88159
      
      Not only broke compilation in the initial commit but also
      broke LayerChromiumTest.basicCreateAndDestroy (Requested by
      rniwa on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-06-01
      
      Source/WebCore:
      
      * WebCore.gypi:
      * platform/graphics/chromium/AnimationTranslationUtil.cpp: Removed.
      * platform/graphics/chromium/AnimationTranslationUtil.h: Removed.
      * platform/graphics/chromium/GraphicsLayerChromium.cpp:
      (WebCore::GraphicsLayerChromium::addAnimation):
      * platform/graphics/chromium/LayerChromium.cpp:
      (WebCore::LayerChromium::addAnimation):
      * platform/graphics/chromium/LayerChromium.h:
      (LayerChromium):
      * platform/graphics/chromium/LinkHighlight.cpp:
      (WebCore::LinkHighlight::LinkHighlight):
      * platform/graphics/chromium/cc/CCAnimationCurve.h:
      (CCTransformAnimationCurve):
      * platform/graphics/chromium/cc/CCKeyframedAnimationCurve.cpp:
      (WebCore::CCTransformKeyframe::create):
      (WebCore::CCTransformKeyframe::CCTransformKeyframe):
      (WebCore::CCTransformKeyframe::value):
      (WebCore::CCTransformKeyframe::clone):
      (WebCore::CCKeyframedTransformAnimationCurve::getValue):
      * platform/graphics/chromium/cc/CCKeyframedAnimationCurve.h:
      (CCTransformKeyframe):
      (CCKeyframedTransformAnimationCurve):
      * platform/graphics/chromium/cc/CCLayerAnimationController.cpp:
      (WebCore::CCLayerAnimationController::addAnimation):
      (WebCore):
      (WebCore::CCLayerAnimationController::add):
      (WebCore::CCLayerAnimationController::pushNewAnimationsToImplThread):
      (WebCore::CCLayerAnimationController::replaceImplThreadAnimations):
      (WebCore::CCLayerAnimationController::tickAnimations):
      * platform/graphics/chromium/cc/CCLayerAnimationController.h:
      (CCLayerAnimationControllerClient):
      (CCLayerAnimationController):
      * platform/graphics/chromium/cc/CCLayerImpl.h:
      
      Source/WebKit/chromium:
      
      * tests/CCAnimationTestCommon.cpp:
      (WebCore::addOpacityTransition):
      (WebCore::addAnimatedTransform):
      (WebKitTests::FakeTransformTransition::getValue):
      * tests/CCAnimationTestCommon.h:
      * tests/CCKeyframedAnimationCurveTest.cpp:
      * tests/CCLayerAnimationControllerTest.cpp:
      * tests/CCLayerTreeHostTest.cpp:
      (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::beginTest):
      * tests/GraphicsLayerChromiumTest.cpp:
      (WebKitTests::MockGraphicsLayerClient::notifyAnimationStarted):
      (WebKitTests::MockGraphicsLayerClient::notifySyncRequired):
      (WebKitTests::MockGraphicsLayerClient::paintContents):
      (WebKitTests::MockGraphicsLayerClient::showDebugBorders):
      (WebKitTests::MockGraphicsLayerClient::showRepaintCounter):
      (WebKitTests::TEST):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119311 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      142fc34f
    • leviw@chromium.org's avatar
      Large number constant in TransformationMatrix::projectPoint overflows... · 23e529c8
      leviw@chromium.org authored
      Large number constant in TransformationMatrix::projectPoint overflows FractionalLayoutUnits with sub-pixel layout enabled
      https://bugs.webkit.org/show_bug.cgi?id=87896
      
      Reviewed by James Robinson.
      
      kLargeNumber is meant to avoid overflowing when projecting a point through a transform. Unfortunately,
      due to FractionalLayoutUnit's diminished range compared to integers, we were overflowing anyways. This
      change adjusts our large number by the same value, but adjusted for our denominator.
      
      This was originally missed because transforms/3d is marked as pass/fail in Chromium's test_expectations.txt
      https://bugs.webkit.org/show_bug.cgi?id=66989 tracks removing this problem.
      
      No new tests. Covered by transforms/3d/hit-testing/perspective-clipped.html
      
      * platform/graphics/transforms/TransformationMatrix.cpp:
      (WebCore::TransformationMatrix::projectPoint):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119310 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      23e529c8
    • wangxianzhu@chromium.org's avatar
      Remove dependency from ImageDiff to WTF · f00c4a32
      wangxianzhu@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=88147
      
      Reviewed by Adam Barth.
      
      Source/WTF:
      
      * WTF.gyp/WTF.gyp:
      
      Tools:
      
      * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119309 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f00c4a32
    • dpranke@chromium.org's avatar
      NRWT seems to leak (more?) temp dirs · a3caa0cb
      dpranke@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=88126
      
      Re-land r119297 with chromium fix (weren't calling the
      super() method if not in --test-shell mode in start().
      Add unit tests to chromium_unittest as well to check.
      
      * Scripts/webkitpy/layout_tests/port/chromium.py:
      (ChromiumDriver.start):
      * Scripts/webkitpy/layout_tests/port/webkit.py:
      (WebKitDriver.__del__):
      (WebKitDriver._start):
      (WebKitDriver.run_test):
      * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
      (WebKitDriverTest.test_check_for_driver_crash):
      (WebKitDriverTest.test_stop_cleans_up_properly):
      (WebKitDriverTest):
      (WebKitDriverTest.test_two_starts_cleans_up_properly):
      * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
      (ChromiumDriverTest.test_stop_cleans_up_properly):
      (ChromiumDriverTest.test_two_starts_cleans_up_properly):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119308 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a3caa0cb
    • timothy_horton@apple.com's avatar
      Cleanup GeneratorGeneratedImage/Gradient changes from r117858 · e4493007
      timothy_horton@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=88063
      
      Reviewed by Simon Fraser.
      
      No new tests, code cleanup.
      
      * platform/graphics/Generator.h:
      (WebCore::Generator::hash): hash() should be const.
      * platform/graphics/GeneratorGeneratedImage.cpp:
      (WebCore::GeneratorGeneratedImage::drawPattern): Minor cleanup.
      * platform/graphics/Gradient.cpp:
      (WebCore::Gradient::Gradient): Rename m_hashCache to m_cachedHash.
      (WebCore::Gradient::addColorStop): Rename clearHashCache to invalidateHash.
      (WebCore::Gradient::sortStopsIfNecessary): Rename clearHashCache to invalidateHash.
      (WebCore::Gradient::setSpreadMethod): Rename clearHashCache to invalidateHash.
      (WebCore::Gradient::setGradientSpaceTransform): Rename clearHashCache to invalidateHash.
      (WebCore::Gradient::hash): Use intHash instead of the pair hasher. Add compile time size checks
      for structures being passed to StringHasher.
      * platform/graphics/Gradient.h:
      (WebCore::Gradient::setP0): Rename clearHashCache to invalidateHash.
      (WebCore::Gradient::setP1): Rename clearHashCache to invalidateHash.
      (WebCore::Gradient::setStartRadius): Rename clearHashCache to invalidateHash.
      (WebCore::Gradient::setEndRadius): Rename clearHashCache to invalidateHash.
      (WebCore::Gradient::invalidateHash):  Rename clearHashCache to invalidateHash.
      * platform/graphics/GraphicsContext.cpp:
      (WebCore::scalesMatch): Added. Determine if the scale of two AffineTransforms match.
      (WebCore::GraphicsContext::isCompatibleWithBuffer): Make use of scalesMatch to simplify the logic.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119307 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e4493007
    • jberlin@webkit.org's avatar
      Skip more asserting tests on Windows. · 316b0019
      jberlin@webkit.org authored
      * platform/win/Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119306 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      316b0019
    • timothy_horton@apple.com's avatar
      Lots of "failed download-built-product" on Apple bots · fb93a128
      timothy_horton@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=88158
      
      Reviewed by Jessie Berlin.
      
      Disable mergeRequests on all Apple builders. This is a speculative fix.
      
      * BuildSlaveSupport/build.webkit.org-config/config.json:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119305 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fb93a128
    • rniwa@webkit.org's avatar
      Unreviewed, rolling out r119297. · f8bf93a7
      rniwa@webkit.org authored
      http://trac.webkit.org/changeset/119297
      https://bugs.webkit.org/show_bug.cgi?id=88156
      
      May have broken Chromium bots (Requested by rniwa on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-06-01
      
      * Scripts/webkitpy/layout_tests/port/webkit.py:
      (WebKitDriver.__del__):
      (WebKitDriver.run_test):
      * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
      (WebKitDriverTest.test_check_for_driver_crash):
      (WebKitDriverTest.test_stop_cleans_up_properly):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119304 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f8bf93a7
    • fpizlo@apple.com's avatar
      DFG CFA should know that PutByVal can clobber the world · a4754896
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=88155
      
      Reviewed by Gavin Barraclough.
      
      Source/JavaScriptCore: 
      
      * dfg/DFGAbstractState.cpp:
      (JSC::DFG::AbstractState::execute):
      
      LayoutTests: 
      
      * fast/js/dfg-putbyval-cfa-clobber-expected.txt: Added.
      * fast/js/dfg-putbyval-cfa-clobber.html: Added.
      * fast/js/script-tests/dfg-putbyval-cfa-clobber.js: Added.
      (foo.bar):
      (foo):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119303 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a4754896
    • commit-queue@webkit.org's avatar
      Remove RefInfo class · 7856c9c5
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=87904
      
      Patch by Raymond Toy <rtoy@google.com> on 2012-06-01
      Reviewed by Chris Rogers.
      
      No new tests; covered by existing tests.
      
      * Modules/webaudio/AudioBufferSourceNode.cpp:
      (WebCore::AudioBufferSourceNode::~AudioBufferSourceNode): Clear
      panner node.
      (WebCore::AudioBufferSourceNode::totalPitchRate):
      (WebCore::AudioBufferSourceNode::setPannerNode): Use
      RefTypeConnection counting for panner node.
      (WebCore):
      (WebCore::AudioBufferSourceNode::clearPannerNode): New function to
       clear panner node in AudioBufferSourceNode.
      (WebCore::AudioBufferSourceNode::finish): Clear panner node when done.
      * Modules/webaudio/AudioBufferSourceNode.h:
      (AudioBufferSourceNode): Add virtual finish(), m_pannerNode is not
      a RefPtr anymore.
      * Modules/webaudio/AudioContext.cpp:
      (WebCore::AudioContext::addDeferredFinishDeref): Remove unneeded RefTyp.
      (WebCore::AudioContext::handleDeferredFinishDerefs): Remove
      unneeded RefType.
      * Modules/webaudio/AudioContext.h:
      (AudioContext): Update addDeferredFinishDeref signature.
      * Modules/webaudio/AudioNode.cpp:
      (WebCore::AudioNode::deref): Update call to addDeferredFinishDeref.
      * Modules/webaudio/AudioScheduledSourceNode.h:
      (AudioScheduledSourceNode): Make finish() virtual.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119302 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7856c9c5
    • fpizlo@apple.com's avatar
      DFG CFA should mark basic blocks as having constants if local accesses yield constants · 8e537cd2
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=88153
      
      Reviewed by Gavin Barraclough.
      
      * dfg/DFGAbstractState.cpp:
      (JSC::DFG::AbstractState::execute):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119301 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8e537cd2
    • fpizlo@apple.com's avatar
      DFG arguments simplification phase uses a node.codeOrigin after appending a node · acc9dd2c
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=88151
      
      Reviewed by Geoffrey Garen.
              
      The right thing to do is to save the CodeOrigin before appending to the graph.
      
      * dfg/DFGArgumentsSimplificationPhase.cpp:
      (JSC::DFG::ArgumentsSimplificationPhase::run):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119300 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      acc9dd2c
    • fpizlo@apple.com's avatar
      DFG should not emit unnecessary speculation checks when performing an int32 to double conversion on · 4f337c23
      fpizlo@apple.com authored
      a value that is proved to be a number, predicted to be an int32, but not proved to be an int32
      https://bugs.webkit.org/show_bug.cgi?id=88146
      
      Reviewed by Gavin Barraclough.
      
      Source/JavaScriptCore: 
      
      * dfg/DFGSpeculativeJIT.cpp:
      (JSC::DFG::SpeculativeJIT::compileInt32ToDouble):
      
      LayoutTests: 
      
      * fast/js/dfg-int32-to-double-on-known-number-expected.txt: Added.
      * fast/js/dfg-int32-to-double-on-known-number.html: Added.
      * fast/js/script-tests/dfg-int32-to-double-on-known-number.js: Added.
      (foo.bar):
      (foo):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119299 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4f337c23
    • tony@chromium.org's avatar
      rename -webkit-flex-pack and -webkit-flex-line-pack to -webkit-justify-content... · 730973cd
      tony@chromium.org authored
      rename -webkit-flex-pack and -webkit-flex-line-pack to -webkit-justify-content and -webkit-align-content
      https://bugs.webkit.org/show_bug.cgi?id=88113
      
      Reviewed by Ojan Vafai.
      
      Source/WebCore:
      
      This recently changed in the spec:
      http://dev.w3.org/csswg/css3-flexbox/#justify-content-property
      http://dev.w3.org/csswg/css3-flexbox/#align-content-property
      
      No new tests, updated existing tests.
      
      * css/CSSComputedStyleDeclaration.cpp:
      (WebCore):
      (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
      * css/CSSParser.cpp:
      (WebCore::isValidKeywordPropertyAndValue):
      (WebCore::isKeywordPropertyID):
      (WebCore::CSSParser::parseValue):
      * css/CSSPrimitiveValueMappings.h:
      (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
      (WebCore::CSSPrimitiveValue::operator EJustifyContent):
      (WebCore::CSSPrimitiveValue::operator EAlignContent):
      * css/CSSProperty.cpp:
      (WebCore::CSSProperty::isInheritedProperty):
      * css/CSSPropertyNames.in:
      * css/StyleBuilder.cpp:
      (WebCore::StyleBuilder::StyleBuilder):
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::collectMatchingRulesForList):
      * rendering/RenderFlexibleBox.cpp:
      (WebCore::RenderFlexibleBox::repositionLogicalHeightDependentFlexItems):
      (WebCore::initialJustifyContentOffset):
      (WebCore::justifyContentSpaceBetweenChildren):
      (WebCore::RenderFlexibleBox::layoutAndPlaceChildren):
      (WebCore::RenderFlexibleBox::layoutColumnReverse):
      (WebCore::initialAlignContentOffset):
      (WebCore::alignContentSpaceBetweenChildren):
      (WebCore::RenderFlexibleBox::alignFlexLines):
      * rendering/RenderFlexibleBox.h:
      * rendering/style/RenderStyle.h:
      * rendering/style/RenderStyleConstants.h:
      * rendering/style/StyleFlexibleBoxData.cpp:
      (WebCore::StyleFlexibleBoxData::StyleFlexibleBoxData):
      (WebCore::StyleFlexibleBoxData::operator==):
      * rendering/style/StyleFlexibleBoxData.h:
      (StyleFlexibleBoxData):
      * rendering/style/StyleRareNonInheritedData.cpp:
      (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
      (WebCore::StyleRareNonInheritedData::operator==):
      * rendering/style/StyleRareNonInheritedData.h:
      (StyleRareNonInheritedData):
      
      LayoutTests:
      
      Find and replace for the CSS keywords.
      
      * css3/flexbox/columns-auto-size.html:
      * css3/flexbox/css-properties-expected.txt:
      * css3/flexbox/css-properties.html:
      * css3/flexbox/flex-pack.html:
      * css3/flexbox/multiline-align.html:
      * css3/flexbox/multiline-column-auto.html:
      * css3/flexbox/multiline-line-pack-expected.txt:
      * css3/flexbox/multiline-line-pack-horizontal-column-expected.txt:
      * css3/flexbox/multiline-line-pack-horizontal-column.html:
      * css3/flexbox/multiline-line-pack.html:
      * css3/flexbox/multiline-pack-expected.txt:
      * css3/flexbox/multiline-pack.html:
      * css3/flexbox/multiline-reverse-wrap-overflow.html:
      * css3/flexbox/multiline-shrink-to-fit.html:
      * css3/flexbox/multiline.html:
      * css3/flexbox/nested-stretch.html:
      * css3/flexbox/position-absolute-child.html:
      * css3/flexbox/true-centering.html:
      * fast/css/getComputedStyle/computed-style-expected.txt:
      * fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
      * platform/chromium-linux-x86/svg/css/getComputedStyle-basic-expected.txt:
      * platform/chromium-linux/svg/css/getComputedStyle-basic-expected.txt:
      * platform/chromium-mac-leopard/fast/css/getComputedStyle/computed-style-expected.txt:
      * platform/chromium-mac-leopard/svg/css/getComputedStyle-basic-expected.txt:
      * platform/chromium-mac-snowleopard/svg/css/getComputedStyle-basic-expected.txt:
      * platform/chromium-mac/fast/css/getComputedStyle/computed-style-expected.txt:
      * platform/chromium-mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
      * platform/chromium-mac/svg/css/getComputedStyle-basic-expected.txt:
      * platform/chromium-win-vista/svg/css/getComputedStyle-basic-expected.txt:
      * platform/chromium-win-xp/svg/css/getComputedStyle-basic-expected.txt:
      * platform/chromium-win/fast/css/getComputedStyle/computed-style-expected.txt:
      * platform/chromium-win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
      * platform/chromium-win/svg/css/getComputedStyle-basic-expected.txt:
      * platform/gtk/fast/css/getComputedStyle/computed-style-expected.txt:
      * platform/gtk/svg/css/getComputedStyle-basic-expected.txt:
      * platform/mac/fast/css/getComputedStyle/computed-style-expected.txt:
      * platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
      * platform/mac/svg/css/getComputedStyle-basic-expected.txt:
      * platform/qt/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
      * platform/qt/svg/css/getComputedStyle-basic-expected.txt:
      * platform/win/fast/css/getComputedStyle/computed-style-expected.txt:
      * platform/win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
      * svg/css/getComputedStyle-basic-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119298 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      730973cd
    • dpranke@chromium.org's avatar
      nrwt seems to leak tmpdirs · 115a489f
      dpranke@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=88126
      
      Reviewed by Ojan Vafai.
      
      Fix leak possibly introduced in r118979 - we now will
      make sure we clean up any stale temp directories during the
      start routine and attempt to clean up again in __del__. It
      turns out that asserting in __del__ logs a message but is
      caught by the runtime, so it's mostly useless.
      
      * Scripts/webkitpy/layout_tests/port/webkit.py:
      (WebKitDriver.__del__):
      (WebKitDriver._start):
      (WebKitDriver.run_test):
      * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
      (WebKitDriverTest.test_check_for_driver_crash):
      (WebKitDriverTest.test_stop_cleans_up_properly):
      (WebKitDriverTest):
      (WebKitDriverTest.test_two_starts_cleans_up_properly):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119297 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      115a489f
    • ap@apple.com's avatar
      Make cookie tests debuggable by merging scripts into HTML · 329ffcd6
      ap@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=88143
      
              Reviewed by Anders Carlsson.
      
              * http/tests/cookies/double-quoted-value-with-semi-colon.html:
              * http/tests/cookies/multiple-cookies.html:
              * http/tests/cookies/script-tests: Removed.
              * http/tests/cookies/script-tests/TEMPLATE.html: Removed.
              * http/tests/cookies/script-tests/double-quoted-value-with-semi-colon.js: Removed.
              * http/tests/cookies/script-tests/multiple-cookies.js: Removed.
              * http/tests/cookies/script-tests/simple-cookies-expired.js: Removed.
              * http/tests/cookies/script-tests/simple-cookies-max-age.js: Removed.
              * http/tests/cookies/script-tests/single-quoted-value.js: Removed.
              * http/tests/cookies/simple-cookies-expired.html:
              * http/tests/cookies/simple-cookies-max-age.html:
              * http/tests/cookies/single-quoted-value.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119296 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      329ffcd6
    • jberlin@webkit.org's avatar
      [Win] Windows 7 Release Testers report many compositing failures · 0d26836c
      jberlin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=88040
      
      Part 2 of adding expected (failing?) results to get the bots greener.
      
      * platform/win/compositing/images: Added.
      * platform/win/compositing/images/clip-on-directly-composited-image-expected.txt: Added.
      * platform/win/compositing/images/direct-image-background-color-expected.txt: Added.
      * platform/win/compositing/images/direct-pdf-image-expected.txt: Added.
      * platform/win/compositing/images/direct-svg-image-expected.txt: Added.
      * platform/win/compositing/layer-creation/fixed-position-out-of-view-expected.txt: Added.
      * platform/win/compositing/layer-creation/overflow-scroll-overlap-expected.txt: Added.
      * platform/win/compositing/layer-creation/overlap-animation-expected.txt: Added.
      * platform/win/compositing/layer-creation/overlap-child-layer-expected.txt: Added.
      * platform/win/compositing/layer-creation/overlap-clipping-expected.txt: Added.
      * platform/win/compositing/layer-creation/overlap-transformed-and-clipped-expected.txt: Added.
      * platform/win/compositing/layer-creation/overlap-transformed-layer-expected.txt: Added.
      * platform/win/compositing/layer-creation/overlap-transforms-expected.txt: Added.
      * platform/win/compositing/layer-creation/rotate3d-overlap-expected.txt: Added.
      * platform/win/compositing/layer-creation/scroll-partial-update-expected.txt: Added.
      * platform/win/compositing/layer-creation/spanOverlapsCanvas-expected.txt: Added.
      * platform/win/compositing/layer-creation/stacking-context-overlap-expected.txt: Added.
      * platform/win/compositing/layer-creation/stacking-context-overlap-nested-expected.txt: Added.
      * platform/win/compositing/layer-creation/translatez-overlap-expected.txt: Added.
      * platform/win/compositing/masks: Added.
      * platform/win/compositing/masks/direct-image-mask-expected.txt: Added.
      * platform/win/compositing/masks/masked-ancestor-expected.txt: Added.
      * platform/win/compositing/masks/multiple-masks-expected.txt: Added.
      * platform/win/compositing/masks/simple-composited-mask-expected.txt: Added.
      * platform/win/compositing/overflow/ancestor-overflow-expected.txt
      * platform/win/compositing/overflow/clip-descendents-expected.txt: Added.
      * platform/win/compositing/overflow/content-gains-scrollbars-expected.txt: Added.
      * platform/win/compositing/overflow/content-loses-scrollbars-expected.txt: Added.
      * platform/win/compositing/overflow/overflow-compositing-descendant-expected.txt: Added.
      * platform/win/compositing/overflow/overflow-positioning-expected.txt: Added.
      * platform/win/compositing/overflow/overflow-scrollbar-layers-expected.txt: Added.
      * platform/win/compositing/overflow/resize-painting-expected.txt: Added.
      * platform/win/compositing/rtl: Added.
      * platform/win/compositing/rtl/rtl-absolute-expected.txt: Added.
      * platform/win/compositing/rtl/rtl-absolute-overflow-expected.txt: Added.
      * platform/win/compositing/rtl/rtl-absolute-overflow-scrolled-expected.txt: Added.
      * platform/win/compositing/rtl/rtl-iframe-absolute-expected.txt: Added.
      * platform/win/compositing/rtl/rtl-iframe-absolute-overflow-expected.txt: Added.
      * platform/win/compositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.txt: Added.
      * platform/win/compositing/rtl/rtl-iframe-fixed-expected.txt: Added.
      * platform/win/compositing/rtl/rtl-iframe-fixed-overflow-expected.txt: Added.
      * platform/win/compositing/rtl/rtl-iframe-fixed-overflow-scrolled-expected.txt: Added.
      * platform/win/compositing/rtl/rtl-iframe-relative-expected.txt: Added.
      * platform/win/compositing/rtl/rtl-relative-expected.txt: Added.
      * platform/win/compositing/tiling/crash-reparent-tiled-layer-expected.txt: Added.
      * platform/win/compositing/visibility: Added.
      * platform/win/compositing/visibility/layer-visible-content-expected.txt: Added.
      * platform/win/compositing/visibility/visibility-image-layers-dynamic-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119295 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0d26836c
    • abarth@webkit.org's avatar
      Overflow scrolling doesn't need to create a stacking context is the overflow is hidden · 15c24156
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=88057
      
      Reviewed by James Robinson.
      
      This patch causes us to match the iOS implementation of this feature.
      
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::collectMatchingRulesForList):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119294 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      15c24156
    • fpizlo@apple.com's avatar
      DFG constant folding search for the last local access skips the immediately previous local access · afc07412
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=88141
      
      Source/JavaScriptCore: 
      
      Reviewed by Michael Saboff.
              
      If you use a loop in the style of:
      
      for (i = start; i--;)
      
      then you need to remember that the first value of 'i' that the loop body will see is 'start - 1'.
      Hence the following is probably wrong:
              
      for (i = start - 1; i--;)
      
      * dfg/DFGConstantFoldingPhase.cpp:
      (JSC::DFG::ConstantFoldingPhase::run):
      
      LayoutTests: 
      
      Reviewed by Michael Saboff.
      
      * fast/js/dfg-obvious-constant-cfa-expected.txt: Added.
      * fast/js/dfg-obvious-constant-cfa.html: Added.
      * fast/js/script-tests/dfg-obvious-constant-cfa.js: Added.
      (bar.baz):
      (bar):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119292 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      afc07412
    • rniwa@webkit.org's avatar
      Use fully qualified name for Fixed to avoid the collision with "typedef SInt32 Fixed" in MacTypes.h · 55ca0c8a
      rniwa@webkit.org authored
      * tests/GraphicsLayerChromiumTest.cpp:
      (WebKitTests::TEST_F):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119291 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      55ca0c8a
    • commit-queue@webkit.org's avatar
      [BlackBerry] Fix the return value checking in SelectPopupClient · 2ebecc50
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=88130
      
      Patch by Crystal Zhang <haizhang@rim.com> on 2012-06-01
      Reviewed by Rob Buis.
      
      In SelectPopupClient, return '1' means selected, '0' means not selected,
      the ASCII value of '0' is 48, not 32, use '0' to be more readable.
      
      * WebCoreSupport/SelectPopupClient.cpp:
      (WebCore::SelectPopupClient::setValueAndClosePopup):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119290 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2ebecc50
    • rniwa@webkit.org's avatar
      Chromium rebaseline after r119274. · 5deffd3d
      rniwa@webkit.org authored
      * platform/chromium-linux/fast/reflections/reflection-with-zoom-expected.png: Added.
      * platform/chromium-mac-leopard/fast/reflections/reflection-with-zoom-expected.png: Added.
      * platform/chromium-mac/fast/reflections/reflection-with-zoom-expected.png: Added.
      * platform/chromium-win/fast/reflections/reflection-with-zoom-expected.png: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119289 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5deffd3d
    • rniwa@webkit.org's avatar
      Fix a typo in the expected result for the test added in r119281.119281 · 59ec128b
      rniwa@webkit.org authored
      * fast/js/dfg-cse-cfa-discrepancy-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119288 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      59ec128b
    • jamesr@google.com's avatar
      [chromium] Unreviewed compile fix for r119283 · ed476434
      jamesr@google.com authored
      For the record, Dana Jensens <danakj@chromium.org> wrote this slightly faster than I did.
      
      Source/WebCore:
      
      * platform/graphics/chromium/LayerChromium.h:
      (WebCore::LayerChromium::bounds):
      * platform/graphics/chromium/cc/CCLayerImpl.h:
      (WebCore::CCLayerImpl::bounds):
      
      Source/WebKit/chromium:
      
      * tests/CCAnimationTestCommon.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119287 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ed476434
    • ap@apple.com's avatar
      http/tests/cookies/simple-cookies-expired.html and simple-cookies-max-age.html are failing · 4c64ce89
      ap@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=82749
      
              I don't see any failures locally (other than sometimes as flakiness in all cookie
              tests), and the bug report doesnt' have any information about what was wrong.
      
              * platform/mac/Skipped: Re-enable to see what happens.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119286 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4c64ce89
    • jberlin@webkit.org's avatar
      [Win] Windows 7 Release Testers report many compositing failures · 3120cce2
      jberlin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=88040
      
      Part 1 of adding expected (failing?) results to get the bots greener.
      
      * platform/win/compositing/geometry/flipped-writing-mode-expected.txt: Added.
      * platform/win/compositing/geometry/foreground-layer-expected.txt: Added.
      * platform/win/compositing/geometry/foreground-offset-change-expected.txt: Added.
      * platform/win/compositing/geometry/horizontal-scroll-composited-expected.txt: Added.
      * platform/win/compositing/geometry/layer-due-to-layer-children-deep-expected.txt: Added.
      * platform/win/compositing/geometry/layer-due-to-layer-children-deep-switch-expected.txt: Added.
      * platform/win/compositing/geometry/layer-due-to-layer-children-expected.txt: Added.
      * platform/win/compositing/geometry/layer-due-to-layer-children-switch-expected.txt: Added.
      * platform/win/compositing/geometry/limit-layer-bounds-clipping-ancestor-expected.txt: Added.
      * platform/win/compositing/geometry/limit-layer-bounds-opacity-transition-expected.txt: Added.
      * platform/win/compositing/geometry/limit-layer-bounds-overflow-repaint-expected.txt: Added.
      * platform/win/compositing/geometry/limit-layer-bounds-overflow-root-expected.txt: Added.
      * platform/win/compositing/geometry/limit-layer-bounds-positioned-expected.txt: Added.
      * platform/win/compositing/geometry/limit-layer-bounds-positioned-transition-expected.txt: Added.
      * platform/win/compositing/geometry/limit-layer-bounds-transformed-expected.txt: Added.
      * platform/win/compositing/geometry/limit-layer-bounds-transformed-overflow-expected.txt: Added.
      * platform/win/compositing/geometry/outline-change-expected.txt: Added.
      * platform/win/compositing/geometry/partial-layout-update-expected.txt: Added.
      * platform/win/compositing/geometry/preserve-3d-switching-expected.txt: Added.
      * platform/win/compositing/geometry/root-layer-update-expected.txt: Added.
      * platform/win/compositing/geometry/tall-page-composited-expected.txt: Added.
      * platform/win/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.txt: Added.
      * platform/win/compositing/geometry/vertical-scroll-composited-expected.txt: Added.
      * platform/win/compositing/geometry/video-opacity-overlay-expected.txt: Added.
      * platform/win/compositing/iframes/become-composited-nested-iframes-expected.txt: Added.
      * platform/win/compositing/iframes/become-overlapped-iframe-expected.txt: Added.
      * platform/win/compositing/iframes/composited-iframe-alignment-expected.txt: Added.
      * platform/win/compositing/iframes/composited-iframe-scroll-expected.txt: Added.
      * platform/win/compositing/iframes/composited-parent-iframe-expected.txt: Added.
      * platform/win/compositing/iframes/connect-compositing-iframe-delayed-expected.txt: Added.
      * platform/win/compositing/iframes/connect-compositing-iframe-expected.txt: Added.
      * platform/win/compositing/iframes/connect-compositing-iframe2-expected.txt: Added.
      * platform/win/compositing/iframes/connect-compositing-iframe3-expected.txt: Added.
      * platform/win/compositing/iframes/enter-compositing-iframe-expected.txt: Added.
      * platform/win/compositing/iframes/iframe-content-flipping-expected.txt: Added.
      * platform/win/compositing/iframes/iframe-copy-on-scroll-expected.txt: Added.
      * platform/win/compositing/iframes/iframe-in-composited-layer-expected.txt: Added.
      * platform/win/compositing/iframes/iframe-resize-expected.txt: Added.
      * platform/win/compositing/iframes/iframe-size-from-zero-expected.txt: Added.
      * platform/win/compositing/iframes/invisible-iframe-expected.txt: Added.
      * platform/win/compositing/iframes/invisible-nested-iframe-expected.txt: Added.
      * platform/win/compositing/iframes/invisible-nested-iframe-hide-expected.txt: Added.
      * platform/win/compositing/iframes/invisible-nested-iframe-show-expected.txt:
      * platform/win/compositing/iframes/layout-on-compositing-change-expected.txt: Added.
      * platform/win/compositing/iframes/nested-iframe-scrolling-expected.txt: Added.
      * platform/win/compositing/iframes/overlapped-iframe-expected.txt: Added.
      * platform/win/compositing/iframes/overlapped-iframe-iframe-expected.txt:
      * platform/win/compositing/iframes/page-cache-layer-tree-expected.txt: Added.
      * platform/win/compositing/iframes/resizer-expected.txt: Added.
      * platform/win/compositing/iframes/scrolling-iframe-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119285 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3120cce2
    • zandobersek@gmail.com's avatar
      Unreviewed GTK gardening, adding a TEXT expectation for http/tests/media/video-buffered.html · 50726699
      zandobersek@gmail.com authored
      after it started failing in r119268.
      
      * platform/gtk/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119284 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      50726699
    • commit-queue@webkit.org's avatar
      [chromium] Accelerated animations should use WebTransformOperations · 2846c971
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=87686
      
      Patch by Ian Vollick <vollick@chromium.org> on 2012-06-01
      Reviewed by James Robinson.
      
      CCTransformKeyframe new owns a WebTransformOperations rather than a
      TransformOperations. LayerChromium's API has been changed so that
      LayerChromium::addAnimation should take only a CCActiveAnimation.
      GraphicsLayerChromium is new responsible for translating to
      WebTransformOperations and creating CCActiveAnimations. Tests that use
      the public API (that is, they call addAnimation with KeyframeValueList
      and Animation arguments) have been moved to GraphicsLayerChromiumTest.
      
      Source/WebCore:
      
      Unit tests:
          GraphicsLayerChromiumTest.createOpacityAnimation
          GraphicsLayerChromiumTest.createTransformAnimation
          GraphicsLayerChromiumTest.createTransformAnimationWithBigRotation
          GraphicsLayerChromiumTest.createTransformAnimationWithSingularMatrix
          GraphicsLayerChromiumTest.createReversedAnimation
          GraphicsLayerChromiumTest.createAlternatingAnimation
          GraphicsLayerChromiumTest.createReversedAlternatingAnimation
      
      * WebCore.gypi:
      * platform/graphics/chromium/AnimationTranslationUtil.cpp: Added.
      (WebCore):
      (WebCore::toWebTransformOperations):
      (WebCore::appendKeyframe):
      (WebCore::CCKeyframedTransformAnimationCurve):
      (WebCore::createActiveAnimation):
      * platform/graphics/chromium/AnimationTranslationUtil.h: Added.
      (WebCore):
      * platform/graphics/chromium/GraphicsLayerChromium.cpp:
      (WebCore::GraphicsLayerChromium::addAnimation):
      * platform/graphics/chromium/LayerChromium.cpp:
      (WebCore::LayerChromium::addAnimation):
      * platform/graphics/chromium/LayerChromium.h:
      (WebCore):
      (LayerChromium):
      * platform/graphics/chromium/LinkHighlight.cpp:
      (WebCore::LinkHighlight::LinkHighlight):
      * platform/graphics/chromium/cc/CCAnimationCurve.h:
      (CCTransformAnimationCurve):
      * platform/graphics/chromium/cc/CCKeyframedAnimationCurve.cpp:
      (WebCore::CCTransformKeyframe::create):
      (WebCore::CCTransformKeyframe::CCTransformKeyframe):
      (WebCore::CCTransformKeyframe::value):
      (WebCore::CCTransformKeyframe::clone):
      (WebCore::CCKeyframedTransformAnimationCurve::getValue):
      * platform/graphics/chromium/cc/CCKeyframedAnimationCurve.h:
      (CCTransformKeyframe):
      (CCKeyframedTransformAnimationCurve):
      * platform/graphics/chromium/cc/CCLayerAnimationController.cpp:
      (WebCore::CCLayerAnimationController::removeAnimation):
      (WebCore):
      (WebCore::CCLayerAnimationController::addAnimation):
      (WebCore::CCLayerAnimationController::getActiveAnimation):
      (WebCore::CCLayerAnimationController::pushNewAnimationsToImplThread):
      (WebCore::CCLayerAnimationController::replaceImplThreadAnimations):
      (WebCore::CCLayerAnimationController::tickAnimations):
      * platform/graphics/chromium/cc/CCLayerAnimationController.h:
      (CCLayerAnimationControllerClient):
      (CCLayerAnimationController):
      
      Source/WebKit/chromium:
      
      * tests/CCAnimationTestCommon.cpp:
      (WebCore::addOpacityTransition):
      (WebCore::addAnimatedTransform):
      (WebKitTests::FakeTransformTransition::getValue):
      * tests/CCAnimationTestCommon.h:
      * tests/CCKeyframedAnimationCurveTest.cpp:
      (WebCore::TEST):
      * tests/CCLayerAnimationControllerTest.cpp:
      (WebKitTests::TEST):
      * tests/CCLayerTreeHostTest.cpp:
      (WTF::CCLayerTreeHostTestLayerAddedWithAnimation::beginTest):
      * tests/GraphicsLayerChromiumTest.cpp:
      (MockLayerTreeHostClient):
      (WebKitTests):
      (MockLayerTreeHost):
      (WebKitTests::MockLayerTreeHost::create):
      (WebKitTests::MockLayerTreeHost::createLayerTreeHostImpl):
      (WebKitTests::MockLayerTreeHost::MockLayerTreeHost):
      (GraphicsLayerChromiumTest):
      (WebKitTests::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
      (WebKitTests::GraphicsLayerChromiumTest::~GraphicsLayerChromiumTest):
      (WebKitTests::GraphicsLayerChromiumTest::expectTranslateX):
      (WebKitTests::TEST_F):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119283 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2846c971
    • fpizlo@apple.com's avatar
      DFG constant folding should be OK with GetLocal of captured variables having a constant · bdf3bc10
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=88137
      
      Fix a typo that Gavin found but that I failed to fix in previous commit.
      
      * fast/js/script-tests/dfg-cse-cfa-discrepancy.js:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119282 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bdf3bc10