Title: [123370] trunk/Source/WebKit/chromium
Revision
123370
Author
[email protected]
Date
2012-07-23 13:22:29 -0700 (Mon, 23 Jul 2012)

Log Message

[chromium] Fix build on Ubuntu Precise.
https://bugs.webkit.org/show_bug.cgi?id=92021

Reviewed by Adrienne Walker.

Remove an array that's written but never read.

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

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (123369 => 123370)


--- trunk/Source/WebKit/chromium/ChangeLog	2012-07-23 20:16:27 UTC (rev 123369)
+++ trunk/Source/WebKit/chromium/ChangeLog	2012-07-23 20:22:29 UTC (rev 123370)
@@ -1,3 +1,15 @@
+2012-07-23  Daniel Cheng  <[email protected]>
+
+        [chromium] Fix build on Ubuntu Precise.
+        https://bugs.webkit.org/show_bug.cgi?id=92021
+
+        Reviewed by Adrienne Walker.
+
+        Remove an array that's written but never read.
+
+        * tests/CCResourceProviderTest.cpp:
+        (WebKit::TEST_F):
+
 2012-07-23  Nate Chapin  <[email protected]>
 
         Add WebTextInputType enum values for text areas and

Modified: trunk/Source/WebKit/chromium/tests/CCResourceProviderTest.cpp (123369 => 123370)


--- trunk/Source/WebKit/chromium/tests/CCResourceProviderTest.cpp	2012-07-23 20:16:27 UTC (rev 123369)
+++ trunk/Source/WebKit/chromium/tests/CCResourceProviderTest.cpp	2012-07-23 20:22:29 UTC (rev 123370)
@@ -239,9 +239,8 @@
     int pool = 1;
 
     const int count = 3;
-    CCResourceProvider::ResourceId ids[count] = {0};
     for (int i = 0; i < count; ++i)
-        ids[i] = m_resourceProvider->createResource(pool, size, format, CCResourceProvider::TextureUsageAny);
+        m_resourceProvider->createResource(pool, size, format, CCResourceProvider::TextureUsageAny);
     EXPECT_EQ(3, context()->textureCount());
 
     m_resourceProvider->deleteOwnedResources(pool+1);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to