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

Unified Diff: sky/engine/platform/graphics/DeferredImageDecoderTest.cpp

Issue 822713002: Update from https://crrev.com/309415 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years 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: sky/engine/platform/graphics/DeferredImageDecoderTest.cpp
diff --git a/sky/engine/platform/graphics/DeferredImageDecoderTest.cpp b/sky/engine/platform/graphics/DeferredImageDecoderTest.cpp
index e5ad28b429526f4c2953ade3954bc15029ff40b4..89bb6cf82d43d3b5ef5534db08846e68a3af640c 100644
--- a/sky/engine/platform/graphics/DeferredImageDecoderTest.cpp
+++ b/sky/engine/platform/graphics/DeferredImageDecoderTest.cpp
@@ -78,7 +78,7 @@ public:
m_actualDecoder = decoder.get();
m_actualDecoder->setSize(1, 1);
m_lazyDecoder = DeferredImageDecoder::createForTesting(decoder.release());
- m_surface.reset(SkSurface::NewRasterPMColor(100, 100));
+ m_surface.reset(SkSurface::NewRasterN32Premul(100, 100));
ASSERT_TRUE(m_surface.get());
m_frameBufferRequestCount = 0;
m_frameCount = 1;

Powered by Google App Engine
This is Rietveld 408576698