Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(572)

Unified Diff: ui/gfx/blit_unittest.cc

Issue 9416017: Optionally clear PlatformCanvas instances. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Address style issues. Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/gfx/blit_unittest.cc
===================================================================
--- ui/gfx/blit_unittest.cc (revision 123041)
+++ ui/gfx/blit_unittest.cc (working copy)
@@ -61,7 +61,8 @@
TEST(Blit, ScrollCanvas) {
static const int kCanvasWidth = 5;
static const int kCanvasHeight = 5;
- skia::PlatformCanvas canvas(kCanvasWidth, kCanvasHeight, true);
+ skia::PlatformCanvas canvas(kCanvasWidth, kCanvasHeight,
+ skia::PlatformDevice::FLAGS_OPAQUE);
uint8 initial_values[kCanvasHeight][kCanvasWidth] = {
{ 0x00, 0x01, 0x02, 0x03, 0x04 },
{ 0x10, 0x11, 0x12, 0x13, 0x14 },
@@ -160,4 +161,3 @@
}
#endif
-

Powered by Google App Engine
This is Rietveld 408576698