Changeset 106669 in webkit
- Timestamp:
- Feb 3, 2012 9:31:20 AM (12 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r106663 r106669 1 2012-02-03 John Knottenbelt <jknotten@chromium.org> 2 3 [skia] Fix unit test PlatformContextSkiaTest.trackOpaqueOvalTest 4 https://bugs.webkit.org/show_bug.cgi?id=77738 5 6 We need to clear the bitmap before the test runs, otherwise the 7 contents of the bitmap will be uninitialised. This causes an 8 unpredicatable result as the canvas draw operations blend the 9 destination bitmap with the source colour. 10 11 Similarly, valgrind discovered that 12 PlatformContextSkiaTest.trackOpaqueTest and 13 PlatformContextSkiaTest.trackOpaqueLineTest suffers from the same 14 problem. 15 16 Also, re-enable WebFrameTest.FindInPage which was falsely 17 blamed for making this test fail. 18 19 Reviewed by Stephen White. 20 21 * tests/PlatformContextSkiaTest.cpp: 22 (WebCore::TEST): 23 * tests/WebFrameTest.cpp: 24 (WebKit::TEST_F): 25 1 26 2012-02-03 Dana Jansens <danakj@chromium.org> 2 27 -
trunk/Source/WebKit/chromium/tests/PlatformContextSkiaTest.cpp
r106663 r106669 59 59 bitmap.setConfig(SkBitmap::kARGB_8888_Config, 400, 400); 60 60 bitmap.allocPixels(); 61 bitmap.eraseColor(0); 61 62 SkCanvas canvas(bitmap); 62 63 … … 260 261 bitmap.setConfig(SkBitmap::kARGB_8888_Config, 200, 200); 261 262 bitmap.allocPixels(); 263 bitmap.eraseColor(0); 262 264 SkCanvas canvas(bitmap); 263 265 … … 499 501 bitmap.setConfig(SkBitmap::kARGB_8888_Config, 200, 200); 500 502 bitmap.allocPixels(); 503 bitmap.eraseColor(0); 501 504 SkCanvas canvas(bitmap); 502 505 -
trunk/Source/WebKit/chromium/tests/WebFrameTest.cpp
r106439 r106669 382 382 } 383 383 384 TEST_F(WebFrameTest, DISABLED_FindInPage)384 TEST_F(WebFrameTest, FindInPage) 385 385 { 386 386 registerMockedHttpURLLoad("find.html");
Note: See TracChangeset
for help on using the changeset viewer.