[chromium] Fix incorrect comment in CCDamageTrackerTest
authorshawnsingh@chromium.org <shawnsingh@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Apr 2012 20:16:05 +0000 (20:16 +0000)
committershawnsingh@chromium.org <shawnsingh@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Apr 2012 20:16:05 +0000 (20:16 +0000)
https://bugs.webkit.org/show_bug.cgi?id=82118

Reviewed by Adrienne Walker.

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

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113078 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/chromium/ChangeLog
Source/WebKit/chromium/tests/CCDamageTrackerTest.cpp

index b4cca67..ef0c83a 100644 (file)
@@ -1,3 +1,13 @@
+2012-04-03  Shawn Singh  <shawnsingh@chromium.org>
+
+        [chromium] Fix incorrect comment in CCDamageTrackerTest
+        https://bugs.webkit.org/show_bug.cgi?id=82118
+
+        Reviewed by Adrienne Walker.
+
+        * tests/CCDamageTrackerTest.cpp:
+        (WebKitTests::TEST_F):
+
 2012-04-03  Adam Barth  <abarth@webkit.org>
 
         Another attempt to fix the Windows build.  This uses WebSecurityOrigin
index 2695598..f4857a4 100644 (file)
@@ -804,12 +804,8 @@ TEST_F(CCDamageTrackerTest, verifyDamageForReplicaMaskWithAnchor)
     CCLayerImpl* grandChild1 = child1->children()[0].get();
 
     // Verify that the correct replicaOriginTransform is used for the replicaMask; the
-    // incorrect old code did not actually correctly account for the anchor for the
-    // replica.
-    //
-    // Create a reflection about the left edge, but the anchor point is shifted all the
-    // way to the right. this case the reflection should be directly on top (but
-    // horizontally flipped) of grandChild1.
+    // incorrect old code incorrectly accounted for the anchor for the replica. A
+    // non-zero anchor point should not affect the replica reflection.
 
     grandChild1->setAnchorPoint(FloatPoint(1.0, 0.0)); // This is the anchor being tested.