⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 142860 in webkit


Ignore:
Timestamp:
02/14/13 01:16:17 (14 years ago)
Author:
commit-queue@webkit.org
Message:

Unreviewed, rolling out r142841.
​http://trac.webkit.org/changeset/142841
​https://bugs.webkit.org/show_bug.cgi?id=109791

Caused webkit_unit_tests to crash on chromium bots. (Requested
by atwilson_ on #webkit).

Patch by Sheriff Bot <​webkit.review.bot@gmail.com> on 2013-02-14

Source/Platform:

  • chromium/public/WebUnitTestSupport.h:

(WebKit):
(WebKit::WebUnitTestSupport::createLayerTreeViewForTesting):

Source/WebKit/chromium:

  • tests/GraphicsLayerChromiumTest.cpp:

(WebKit::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):

  • tests/ScrollingCoordinatorChromiumTest.cpp:

(WebKit::FakeWebViewClient::initializeLayerTreeView):

Tools:

  • DumpRenderTree/chromium/WebViewHost.cpp:

(WebViewHost::createOutputSurface):
(WebViewHost::initializeLayerTreeView):

Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/Platform/ChangeLog

    r142841 r142860  
     12013-02-14  Sheriff Bot  <webkit.review.bot@gmail.com>
     2
     3        Unreviewed, rolling out r142841.
     4        http://trac.webkit.org/changeset/142841
     5        https://bugs.webkit.org/show_bug.cgi?id=109791
     6
     7        Caused webkit_unit_tests to crash on chromium bots. (Requested
     8        by atwilson_ on #webkit).
     9
     10        * chromium/public/WebUnitTestSupport.h:
     11        (WebKit):
     12        (WebKit::WebUnitTestSupport::createLayerTreeViewForTesting):
     13
    1142013-02-12  James Robinson  <jamesr@chromium.org>
    215
  • trunk/Source/Platform/chromium/public/WebUnitTestSupport.h

    r142841 r142860  
    3333
    3434class WebLayerTreeView;
    35 class WebLayerTreeViewClient;
    3635class WebURL;
    3736class WebURLResponse;
    … …  
    6463    enum TestViewType {
    6564        TestViewTypeUnitTest,
    66         TestViewTypeLayoutTestSoftware,
    67         TestViewTypeLayoutTest3d,
     65        TestViewTypeLayoutTest
    6866    };
    69     virtual WebLayerTreeView* createLayerTreeViewForTesting(TestViewType, WebLayerTreeViewClient*) { return 0; }
    70     virtual WebLayerTreeView* createLayerTreeViewForTesting(TestViewType) { return 0; }
     67    virtual WebLayerTreeView* createLayerTreeViewForTesting(TestViewType type) { return 0; }
    7168};
    7269
  • trunk/Source/WebKit/chromium/ChangeLog

    r142823 r142860  
     12013-02-14  Sheriff Bot  <webkit.review.bot@gmail.com>
     2
     3        Unreviewed, rolling out r142841.
     4        http://trac.webkit.org/changeset/142841
     5        https://bugs.webkit.org/show_bug.cgi?id=109791
     6
     7        Caused webkit_unit_tests to crash on chromium bots. (Requested
     8        by atwilson_ on #webkit).
     9
     10        * tests/GraphicsLayerChromiumTest.cpp:
     11        (WebKit::GraphicsLayerChromiumTest::GraphicsLayerChromiumTest):
     12        * tests/ScrollingCoordinatorChromiumTest.cpp:
     13        (WebKit::FakeWebViewClient::initializeLayerTreeView):
     14
    1152013-02-13  Max Vujovic  <mvujovic@adobe.com>
    216
  • trunk/Source/WebKit/chromium/tests/GraphicsLayerChromiumTest.cpp

    r142841 r142860  
    6363        m_graphicsLayer = adoptPtr(new GraphicsLayerChromium(&m_client));
    6464        m_platformLayer = m_graphicsLayer->platformLayer();
    65         m_layerTreeView = adoptPtr(Platform::current()->unitTestSupport()->createLayerTreeViewForTesting(WebUnitTestSupport::TestViewTypeUnitTest, 0));
     65        m_layerTreeView = adoptPtr(Platform::current()->unitTestSupport()->createLayerTreeViewForTesting(WebUnitTestSupport::TestViewTypeUnitTest));
    6666        ASSERT(m_layerTreeView);
    6767        m_layerTreeView->setRootLayer(*m_platformLayer);
  • trunk/Source/WebKit/chromium/tests/ScrollingCoordinatorChromiumTest.cpp

    r142841 r142860  
    6060    virtual void initializeLayerTreeView(WebLayerTreeViewClient* client, const WebLayer& rootLayer, const WebLayerTreeView::Settings& settings)
    6161    {
    62         m_layerTreeView = adoptPtr(Platform::current()->unitTestSupport()->createLayerTreeViewForTesting(WebUnitTestSupport::TestViewTypeUnitTest, 0));
     62        m_layerTreeView = adoptPtr(Platform::current()->unitTestSupport()->createLayerTreeViewForTesting(WebUnitTestSupport::TestViewTypeUnitTest));
    6363        ASSERT(m_layerTreeView);
    6464        m_layerTreeView->setRootLayer(rootLayer);
  • trunk/Tools/ChangeLog

    r142859 r142860  
     12013-02-14  Sheriff Bot  <webkit.review.bot@gmail.com>
     2
     3        Unreviewed, rolling out r142841.
     4        http://trac.webkit.org/changeset/142841
     5        https://bugs.webkit.org/show_bug.cgi?id=109791
     6
     7        Caused webkit_unit_tests to crash on chromium bots. (Requested
     8        by atwilson_ on #webkit).
     9
     10        * DumpRenderTree/chromium/WebViewHost.cpp:
     11        (WebViewHost::createOutputSurface):
     12        (WebViewHost::initializeLayerTreeView):
     13
    1142013-02-13  Raphael Kubo da Costa  <raphael.kubo.da.costa@intel.com>
    215
  • trunk/Tools/DumpRenderTree/chromium/WebViewHost.cpp

    r142857 r142860  
    7575#include <public/WebURLRequest.h>
    7676#include <public/WebURLResponse.h>
    77 #include <public/WebUnitTestSupport.h>
    7877
    7978#include <wtf/Assertions.h>
    … …  
    130129WebCompositorOutputSurface* WebViewHost::createOutputSurface()
    131130{
    132     // FIXME: Remove when the WebLayerTreeView is provided by WebUnitTestSupport.
    133131    if (!webView())
    134132        return 0;
    … …  
    326324void WebViewHost::initializeLayerTreeView(WebLayerTreeViewClient* client, const WebLayer& rootLayer, const WebLayerTreeView::Settings& settings)
    327325{
    328     if (m_shell->softwareCompositingEnabled())
    329         m_layerTreeView = adoptPtr(Platform::current()->unitTestSupport()->createLayerTreeViewForTesting(WebUnitTestSupport::TestViewTypeLayoutTestSoftware, client));
    330     else
    331         m_layerTreeView = adoptPtr(Platform::current()->unitTestSupport()->createLayerTreeViewForTesting(WebUnitTestSupport::TestViewTypeLayoutTest3d, client));
    332 
    333     // FIXME: Remove this path when the unitTestSupport version is implemented in chromium land.
    334     if (!m_layerTreeView)
    335         m_layerTreeView = adoptPtr(Platform::current()->compositorSupport()->createLayerTreeView(client, rootLayer, settings));
    336 
    337     ASSERT(m_layerTreeView);
    338     m_layerTreeView->setRootLayer(rootLayer);
    339     m_layerTreeView->setSurfaceReady();
     326    m_layerTreeView = adoptPtr(Platform::current()->compositorSupport()->createLayerTreeView(client, rootLayer, settings));
     327    if (m_layerTreeView)
     328        m_layerTreeView->setSurfaceReady();
    340329}
    341330
Note: See TracChangeset for help on using the changeset viewer.