Title: [111862] trunk/Source/WebKit/chromium
Revision
111862
Author
[email protected]
Date
2012-03-23 07:53:59 -0700 (Fri, 23 Mar 2012)

Log Message

[chromium] Remove unused variables from unittest.
https://bugs.webkit.org/show_bug.cgi?id=82054

Patch by Jonathan Backer <[email protected]> on 2012-03-23
Reviewed by Adrienne Walker.

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

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (111861 => 111862)


--- trunk/Source/WebKit/chromium/ChangeLog	2012-03-23 14:43:21 UTC (rev 111861)
+++ trunk/Source/WebKit/chromium/ChangeLog	2012-03-23 14:53:59 UTC (rev 111862)
@@ -1,3 +1,13 @@
+2012-03-23  Jonathan Backer  <[email protected]>
+
+        [chromium] Remove unused variables from unittest.
+        https://bugs.webkit.org/show_bug.cgi?id=82054
+
+        Reviewed by Adrienne Walker.
+
+        * tests/CCLayerTreeHostImplTest.cpp:
+        (WebKitTests::TEST_F):
+
 2012-03-23  Ryosuke Niwa  <[email protected]>
 
         Chromium DEPS roll r127913:r128426.

Modified: trunk/Source/WebKit/chromium/tests/CCLayerTreeHostImplTest.cpp (111861 => 111862)


--- trunk/Source/WebKit/chromium/tests/CCLayerTreeHostImplTest.cpp	2012-03-23 14:43:21 UTC (rev 111861)
+++ trunk/Source/WebKit/chromium/tests/CCLayerTreeHostImplTest.cpp	2012-03-23 14:53:59 UTC (rev 111862)
@@ -528,7 +528,6 @@
     m_hostImpl->setRootLayer(DidDrawCheckLayer::create(0));
     DidDrawCheckLayer* root = static_cast<DidDrawCheckLayer*>(m_hostImpl->rootLayer());
     root->addChild(MissingTextureAnimatingLayer::create(1, false, false, true));
-    DidDrawCheckLayer* layer = static_cast<MissingTextureAnimatingLayer*>(root->children()[0].get());
 
     CCLayerTreeHostImpl::FrameData frame;
 
@@ -539,7 +538,6 @@
     m_hostImpl->setRootLayer(DidDrawCheckLayer::create(0));
     root = static_cast<DidDrawCheckLayer*>(m_hostImpl->rootLayer());
     root->addChild(MissingTextureAnimatingLayer::create(1, true, false, false));
-    layer = static_cast<MissingTextureAnimatingLayer*>(root->children()[0].get());
 
     EXPECT_TRUE(m_hostImpl->prepareToDraw(frame));
     m_hostImpl->drawLayers(frame);
@@ -548,7 +546,6 @@
     m_hostImpl->setRootLayer(DidDrawCheckLayer::create(0));
     root = static_cast<DidDrawCheckLayer*>(m_hostImpl->rootLayer());
     root->addChild(MissingTextureAnimatingLayer::create(1, true, false, true));
-    layer = static_cast<MissingTextureAnimatingLayer*>(root->children()[0].get());
 
     EXPECT_FALSE(m_hostImpl->prepareToDraw(frame));
     m_hostImpl->drawLayers(frame);
@@ -557,7 +554,6 @@
     m_hostImpl->setRootLayer(DidDrawCheckLayer::create(0));
     root = static_cast<DidDrawCheckLayer*>(m_hostImpl->rootLayer());
     root->addChild(MissingTextureAnimatingLayer::create(1, false, true, true));
-    layer = static_cast<MissingTextureAnimatingLayer*>(root->children()[0].get());
 
     EXPECT_TRUE(m_hostImpl->prepareToDraw(frame));
     m_hostImpl->drawLayers(frame);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to