Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / skia / tests / ReadWriteAlphaTest.cpp
index 06ede48..385a17e 100644 (file)
@@ -81,7 +81,8 @@ DEF_GPUTEST(ReadWriteAlpha, reporter, factory) {
         REPORTER_ASSERT(reporter, match);
 
         // Now try writing on the single channel texture
-        SkAutoTUnref<SkBaseDevice> device(new SkGpuDevice(context, texture->asRenderTarget()));
+        SkAutoTUnref<SkBaseDevice> device(SkGpuDevice::Create(texture->asRenderTarget(),
+                                      SkSurfaceProps(SkSurfaceProps::kLegacyFontHost_InitType)));
         SkCanvas canvas(device);
 
         SkPaint paint;