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

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

Issue 1181253008: Remove destroyDecodedData from BitmapImageTest profile tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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/BitmapImageTest.cpp
diff --git a/Source/platform/graphics/BitmapImageTest.cpp b/Source/platform/graphics/BitmapImageTest.cpp
index 4d7dadce460cafb4c0dc0f38e241798fa537b610..19c0c3eb48d0ea9ada367686f33e0ec52fd8c47e 100644
--- a/Source/platform/graphics/BitmapImageTest.cpp
+++ b/Source/platform/graphics/BitmapImageTest.cpp
@@ -204,8 +204,6 @@ TEST_F(BitmapImageTest, jpegHasColorProfile)
EXPECT_EQ(1u, decodedFramesCount());
EXPECT_EQ(227700u, decodedSize());
EXPECT_TRUE(m_image->hasColorProfile());
-
- destroyDecodedData(true);
}
TEST_F(BitmapImageTest, pngHasColorProfile)
@@ -214,8 +212,6 @@ TEST_F(BitmapImageTest, pngHasColorProfile)
EXPECT_EQ(1u, decodedFramesCount());
EXPECT_EQ(65536u, decodedSize());
EXPECT_TRUE(m_image->hasColorProfile());
-
- destroyDecodedData(true);
}
TEST_F(BitmapImageTest, webpHasColorProfile)
@@ -224,8 +220,6 @@ TEST_F(BitmapImageTest, webpHasColorProfile)
EXPECT_EQ(1u, decodedFramesCount());
EXPECT_EQ(2560000u, decodedSize());
EXPECT_TRUE(m_image->hasColorProfile());
-
- destroyDecodedData(true);
}
#endif // USE(QCMSLIB)
« 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