Title: [122997] trunk/Source/WebKit/chromium
- Revision
- 122997
- Author
- [email protected]
- Date
- 2012-07-18 11:55:32 -0700 (Wed, 18 Jul 2012)
Log Message
[chromium] Unreviewed compile fix for Android.
Source/WebKit/chromium/tests/CCDamageTrackerTest.cpp: In member function 'virtual void<unnamed>::CCDamageTrackerTest_verifyDamageForTransformedLayer_Test::TestBody()':
Source/WebKit/chromium/tests/CCDamageTrackerTest.cpp:332: error: call of overloaded 'sqrt(int)' is ambiguous
* tests/CCDamageTrackerTest.cpp:
(WebKitTests::TEST_F):
Modified Paths
Diff
Modified: trunk/Source/WebKit/chromium/ChangeLog (122996 => 122997)
--- trunk/Source/WebKit/chromium/ChangeLog 2012-07-18 18:43:13 UTC (rev 122996)
+++ trunk/Source/WebKit/chromium/ChangeLog 2012-07-18 18:55:32 UTC (rev 122997)
@@ -1,3 +1,13 @@
+2012-07-18 Tony Chang <[email protected]>
+
+ [chromium] Unreviewed compile fix for Android.
+
+ Source/WebKit/chromium/tests/CCDamageTrackerTest.cpp: In member function 'virtual void<unnamed>::CCDamageTrackerTest_verifyDamageForTransformedLayer_Test::TestBody()':
+ Source/WebKit/chromium/tests/CCDamageTrackerTest.cpp:332: error: call of overloaded 'sqrt(int)' is ambiguous
+
+ * tests/CCDamageTrackerTest.cpp:
+ (WebKitTests::TEST_F):
+
2012-07-18 Varun Jain <[email protected]>
[chromium] Drag image for image elements should be scaled with device scale factor.
Modified: trunk/Source/WebKit/chromium/tests/CCDamageTrackerTest.cpp (122996 => 122997)
--- trunk/Source/WebKit/chromium/tests/CCDamageTrackerTest.cpp 2012-07-18 18:43:13 UTC (rev 122996)
+++ trunk/Source/WebKit/chromium/tests/CCDamageTrackerTest.cpp 2012-07-18 18:55:32 UTC (rev 122997)
@@ -329,7 +329,7 @@
// Since the child layer is square, rotation by 45 degrees about the center should
// increase the size of the expected rect by sqrt(2), centered around (100, 100). The
// old exposed region should be fully contained in the new region.
- double expectedWidth = 30 * sqrt(2);
+ double expectedWidth = 30 * sqrt(2.0);
double expectedPosition = 100 - 0.5 * expectedWidth;
FloatRect expectedRect(expectedPosition, expectedPosition, expectedWidth, expectedWidth);
rootDamageRect = root->renderSurface()->damageTracker()->currentDamageRect();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes