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

Unified Diff: media/gpu/jpeg_decode_accelerator_unittest.cc

Issue 2733013002: Fix chromium-style warning for auto in jpeg_decode_accelerator_unittest (Closed)
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/jpeg_decode_accelerator_unittest.cc
diff --git a/media/gpu/jpeg_decode_accelerator_unittest.cc b/media/gpu/jpeg_decode_accelerator_unittest.cc
index 00fa4f5b2121de602ba67edf26d6b31cffffe09a..aa1f42dcf26ab57d8c1c095fa9be62cf6343b681 100644
--- a/media/gpu/jpeg_decode_accelerator_unittest.cc
+++ b/media/gpu/jpeg_decode_accelerator_unittest.cc
@@ -475,7 +475,7 @@ void JpegDecodeAcceleratorTest::TestDecode(size_t num_concurrent_decoders) {
}
TEST_F(JpegDecodeAcceleratorTest, SimpleDecode) {
- for (const auto& image : g_env->image_data_user_) {
+ for (auto* image : g_env->image_data_user_) {
test_image_files_.push_back(image);
expected_status_.push_back(CS_DECODE_PASS);
}
@@ -483,7 +483,7 @@ TEST_F(JpegDecodeAcceleratorTest, SimpleDecode) {
}
TEST_F(JpegDecodeAcceleratorTest, MultipleDecoders) {
- for (const auto& image : g_env->image_data_user_) {
+ for (auto* image : g_env->image_data_user_) {
test_image_files_.push_back(image);
expected_status_.push_back(CS_DECODE_PASS);
}
« 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