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

Unified Diff: ui/gfx/codec/chromeos/jpeg_codec_robust_slow_unittest.cc

Issue 2755563002: Move ui/gfx/codec/ into its own component. (Closed)
Patch Set: none Created 3 years, 9 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 | « ui/gfx/codec/chromeos/jpeg_codec_robust_slow.cc ('k') | ui/gfx/codec/codec_export.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/codec/chromeos/jpeg_codec_robust_slow_unittest.cc
diff --git a/ui/gfx/chromeos/codec/jpeg_codec_robust_slow_unittest.cc b/ui/gfx/codec/chromeos/jpeg_codec_robust_slow_unittest.cc
similarity index 88%
rename from ui/gfx/chromeos/codec/jpeg_codec_robust_slow_unittest.cc
rename to ui/gfx/codec/chromeos/jpeg_codec_robust_slow_unittest.cc
index 35e53eaa74475324fbfd7a41739fc5ec25713c87..5304ab327d668b0dc6bcd2b36d0720135e59fa70 100644
--- a/ui/gfx/chromeos/codec/jpeg_codec_robust_slow_unittest.cc
+++ b/ui/gfx/codec/chromeos/jpeg_codec_robust_slow_unittest.cc
@@ -7,7 +7,7 @@
#include "base/macros.h"
#include "testing/gtest/include/gtest/gtest.h"
-#include "ui/gfx/chromeos/codec/jpeg_codec_robust_slow.h"
+#include "ui/gfx/codec/chromeos/jpeg_codec_robust_slow.h"
namespace {
@@ -93,16 +93,12 @@ TEST(JPEGCodecRobustSlow, DecodeCorrupted) {
TEST(JPEGCodecRobustSlow, InvalidRead) {
std::vector<unsigned char> output;
int outw, outh;
- ASSERT_TRUE(
- JPEGCodecRobustSlow::Decode(kTopSitesMigrationTestImage,
- arraysize(kTopSitesMigrationTestImage),
- JPEGCodecRobustSlow::FORMAT_RGB, &output,
- &outw, &outh));
- ASSERT_TRUE(
- JPEGCodecRobustSlow::Decode(kTopSitesMigrationTestImage,
- arraysize(kTopSitesMigrationTestImage),
- JPEGCodecRobustSlow::FORMAT_RGBA, &output,
- &outw, &outh));
+ ASSERT_TRUE(JPEGCodecRobustSlow::Decode(
+ kTopSitesMigrationTestImage, arraysize(kTopSitesMigrationTestImage),
+ JPEGCodecRobustSlow::FORMAT_RGB, &output, &outw, &outh));
+ ASSERT_TRUE(JPEGCodecRobustSlow::Decode(
+ kTopSitesMigrationTestImage, arraysize(kTopSitesMigrationTestImage),
+ JPEGCodecRobustSlow::FORMAT_RGBA, &output, &outw, &outh));
}
} // namespace gfx
« no previous file with comments | « ui/gfx/codec/chromeos/jpeg_codec_robust_slow.cc ('k') | ui/gfx/codec/codec_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698