Title: [108941] trunk/Source/WebKit/chromium
Revision
108941
Author
jam...@google.com
Date
2012-02-26 17:19:59 -0800 (Sun, 26 Feb 2012)

Log Message

Take 2 build fix.

* tests/CCLayerTreeHostImplTest.cpp:
(WebKit::TEST_F):

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (108940 => 108941)


--- trunk/Source/WebKit/chromium/ChangeLog	2012-02-27 01:14:05 UTC (rev 108940)
+++ trunk/Source/WebKit/chromium/ChangeLog	2012-02-27 01:19:59 UTC (rev 108941)
@@ -1,5 +1,12 @@
 2012-02-26  James Robinson  <jam...@chromium.org>
 
+        Take 2 build fix.
+
+        * tests/CCLayerTreeHostImplTest.cpp:
+        (WebKit::TEST_F):
+
+2012-02-26  James Robinson  <jam...@chromium.org>
+
         Compile fix for CCLayerTreeHostImpl test.
 
         * tests/CCLayerTreeHostImplTest.cpp:

Modified: trunk/Source/WebKit/chromium/tests/CCLayerTreeHostImplTest.cpp (108940 => 108941)


--- trunk/Source/WebKit/chromium/tests/CCLayerTreeHostImplTest.cpp	2012-02-27 01:14:05 UTC (rev 108940)
+++ trunk/Source/WebKit/chromium/tests/CCLayerTreeHostImplTest.cpp	2012-02-27 01:19:59 UTC (rev 108941)
@@ -240,9 +240,7 @@
 
 TEST_F(CCLayerTreeHostImplTest, nonFastScrollableRegionWithOffset)
 {
-    GraphicsContext3D::Attributes attrs;
-    RefPtr<GraphicsContext3D> context = GraphicsContext3DPrivate::createGraphicsContextFromWebContext(adoptPtr(new FakeWebGraphicsContext3D()), attrs, 0, GraphicsContext3D::RenderDirectlyToHostWindow, GraphicsContext3DPrivate::ForUseOnThisThread);
-    m_hostImpl->initializeLayerRenderer(context);
+    m_hostImpl->initializeLayerRenderer(createContext());
 
     OwnPtr<CCLayerImpl> root = CCLayerImpl::create(0);
     root->setScrollable(true);
@@ -423,8 +421,7 @@
 
 TEST_F(CCLayerTreeHostImplTest, didDrawNotCalledOnHiddenLayer)
 {
-    RefPtr<GraphicsContext3D> context = createContext();
-    m_hostImpl->initializeLayerRenderer(context);
+    m_hostImpl->initializeLayerRenderer(createContext());
 
     // Ensure visibleLayerRect for root layer is empty
     m_hostImpl->setViewportSize(IntSize(0, 0));
@@ -458,8 +455,7 @@
 
 TEST_F(CCLayerTreeHostImplTest, didDrawCalledOnAllLayers)
 {
-    RefPtr<GraphicsContext3D> context = createContext();
-    m_hostImpl->initializeLayerRenderer(context);
+    m_hostImpl->initializeLayerRenderer(createContext());
     m_hostImpl->setViewportSize(IntSize(10, 10));
 
     m_hostImpl->setRootLayer(DidDrawCheckLayer::create(0));
@@ -557,8 +553,7 @@
 // https://bugs.webkit.org/show_bug.cgi?id=75783
 TEST_F(CCLayerTreeHostImplTest, blendingOffWhenDrawingOpaqueLayers)
 {
-    RefPtr<GraphicsContext3D> context = createContext();
-    m_hostImpl->initializeLayerRenderer(context);
+    m_hostImpl->initializeLayerRenderer(createContext());
     m_hostImpl->setViewportSize(IntSize(10, 10));
 
     {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to