Changeset 142860 in webkit
- Timestamp:
- 02/14/13 01:16:17 (14 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
-
Source/Platform/ChangeLog (modified) (1 diff)
-
Source/Platform/chromium/public/WebUnitTestSupport.h (modified) (2 diffs)
-
Source/WebKit/chromium/ChangeLog (modified) (1 diff)
-
Source/WebKit/chromium/tests/GraphicsLayerChromiumTest.cpp (modified) (1 diff)
-
Source/WebKit/chromium/tests/ScrollingCoordinatorChromiumTest.cpp (modified) (1 diff)
-
Tools/ChangeLog (modified) (1 diff)
-
Tools/DumpRenderTree/chromium/WebViewHost.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/Platform/ChangeLog
r142841 r142860 1 2013-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 1 14 2013-02-12 James Robinson <jamesr@chromium.org> 2 15 -
trunk/Source/Platform/chromium/public/WebUnitTestSupport.h
r142841 r142860 33 33 34 34 class WebLayerTreeView; 35 class WebLayerTreeViewClient;36 35 class WebURL; 37 36 class WebURLResponse; … … 64 63 enum TestViewType { 65 64 TestViewTypeUnitTest, 66 TestViewTypeLayoutTestSoftware, 67 TestViewTypeLayoutTest3d, 65 TestViewTypeLayoutTest 68 66 }; 69 virtual WebLayerTreeView* createLayerTreeViewForTesting(TestViewType, WebLayerTreeViewClient*) { return 0; } 70 virtual WebLayerTreeView* createLayerTreeViewForTesting(TestViewType) { return 0; } 67 virtual WebLayerTreeView* createLayerTreeViewForTesting(TestViewType type) { return 0; } 71 68 }; 72 69 -
trunk/Source/WebKit/chromium/ChangeLog
r142823 r142860 1 2013-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 1 15 2013-02-13 Max Vujovic <mvujovic@adobe.com> 2 16 -
trunk/Source/WebKit/chromium/tests/GraphicsLayerChromiumTest.cpp
r142841 r142860 63 63 m_graphicsLayer = adoptPtr(new GraphicsLayerChromium(&m_client)); 64 64 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)); 66 66 ASSERT(m_layerTreeView); 67 67 m_layerTreeView->setRootLayer(*m_platformLayer); -
trunk/Source/WebKit/chromium/tests/ScrollingCoordinatorChromiumTest.cpp
r142841 r142860 60 60 virtual void initializeLayerTreeView(WebLayerTreeViewClient* client, const WebLayer& rootLayer, const WebLayerTreeView::Settings& settings) 61 61 { 62 m_layerTreeView = adoptPtr(Platform::current()->unitTestSupport()->createLayerTreeViewForTesting(WebUnitTestSupport::TestViewTypeUnitTest , 0));62 m_layerTreeView = adoptPtr(Platform::current()->unitTestSupport()->createLayerTreeViewForTesting(WebUnitTestSupport::TestViewTypeUnitTest)); 63 63 ASSERT(m_layerTreeView); 64 64 m_layerTreeView->setRootLayer(rootLayer); -
trunk/Tools/ChangeLog
r142859 r142860 1 2013-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 1 14 2013-02-13 Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> 2 15 -
trunk/Tools/DumpRenderTree/chromium/WebViewHost.cpp
r142857 r142860 75 75 #include <public/WebURLRequest.h> 76 76 #include <public/WebURLResponse.h> 77 #include <public/WebUnitTestSupport.h>78 77 79 78 #include <wtf/Assertions.h> … … 130 129 WebCompositorOutputSurface* WebViewHost::createOutputSurface() 131 130 { 132 // FIXME: Remove when the WebLayerTreeView is provided by WebUnitTestSupport.133 131 if (!webView()) 134 132 return 0; … … 326 324 void WebViewHost::initializeLayerTreeView(WebLayerTreeViewClient* client, const WebLayer& rootLayer, const WebLayerTreeView::Settings& settings) 327 325 { 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(); 340 329 } 341 330
Note:
See TracChangeset
for help on using the changeset viewer.