diff options
Diffstat (limited to 'core/fxcodec/jbig2/JBig2_Image_unittest.cpp')
-rw-r--r-- | core/fxcodec/jbig2/JBig2_Image_unittest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fxcodec/jbig2/JBig2_Image_unittest.cpp b/core/fxcodec/jbig2/JBig2_Image_unittest.cpp index 788f922a02..2e53e7b337 100644 --- a/core/fxcodec/jbig2/JBig2_Image_unittest.cpp +++ b/core/fxcodec/jbig2/JBig2_Image_unittest.cpp @@ -34,7 +34,7 @@ TEST(fxcodec, JBig2ImageCreateTooBig) { CJBig2_Image img(kWidthPixels, kTooLargeHeightLines); EXPECT_EQ(0, img.width()); EXPECT_EQ(0, img.height()); - EXPECT_EQ(nullptr, img.m_pData); + EXPECT_EQ(nullptr, img.data()); } TEST(fxcodec, JBig2ImageCreateExternal) { @@ -53,7 +53,7 @@ TEST(fxcodec, JBig2ImageCreateExternalTooBig) { CJBig2_Image img(kWidthPixels, kTooLargeHeightLines, kStrideBytes, buf); EXPECT_EQ(0, img.width()); EXPECT_EQ(0, img.height()); - EXPECT_EQ(nullptr, img.m_pData); + EXPECT_EQ(nullptr, img.data()); } TEST(fxcodec, JBig2ImageExpand) { |