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

Unified Diff: Source/platform/graphics/ImageDecodingStoreTest.cpp

Issue 310953003: use non-deprecated setInfo instead of setConfig (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/ImageDecodingStoreTest.cpp
diff --git a/Source/platform/graphics/ImageDecodingStoreTest.cpp b/Source/platform/graphics/ImageDecodingStoreTest.cpp
index 9a867f76bcdcc48c39dc54fc111557973c155385..ef4cf12833615351aa13b23a42c49106250907fd 100644
--- a/Source/platform/graphics/ImageDecodingStoreTest.cpp
+++ b/Source/platform/graphics/ImageDecodingStoreTest.cpp
@@ -77,7 +77,7 @@ protected:
PassOwnPtr<ScaledImageFragment> createCompleteImage(const SkISize& size, bool discardable = false, size_t index = 0)
{
SkBitmap bitmap;
- bitmap.setConfig(SkImageInfo::MakeN32Premul(size));
+ bitmap.setInfo(SkImageInfo::MakeN32Premul(size));
if (!discardable) {
bitmap.allocPixels();
} else {
@@ -90,7 +90,7 @@ protected:
PassOwnPtr<ScaledImageFragment> createIncompleteImage(const SkISize& size, bool discardable = false, size_t generation = 0)
{
SkBitmap bitmap;
- bitmap.setConfig(SkImageInfo::MakeN32Premul(size));
+ bitmap.setInfo(SkImageInfo::MakeN32Premul(size));
if (!discardable) {
bitmap.allocPixels();
} else {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698