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

Unified Diff: blimp/engine/renderer/engine_image_serialization_processor.cc

Issue 2102173003: blimp: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « blimp/engine/app/blimp_url_request_context_getter.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/engine/renderer/engine_image_serialization_processor.cc
diff --git a/blimp/engine/renderer/engine_image_serialization_processor.cc b/blimp/engine/renderer/engine_image_serialization_processor.cc
index c79f2af049b768d9127de841c392ee0ba847b873..8c5aed6a026632540d9d87c311f54174ba654e2c 100644
--- a/blimp/engine/renderer/engine_image_serialization_processor.cc
+++ b/blimp/engine/renderer/engine_image_serialization_processor.cc
@@ -165,7 +165,7 @@ scoped_refptr<BlobData> EngineImageSerializationProcessor::EncodeImageAsBlob(
picture.height = pixmap.height();
// Import picture from raw pixels.
- auto pixel_chars = static_cast<const unsigned char*>(pixmap.addr());
+ auto* pixel_chars = static_cast<const unsigned char*>(pixmap.addr());
CHECK(PlatformPictureImport(pixel_chars, &picture, pixmap.alphaType()));
// Set up the writer parameters.
« no previous file with comments | « blimp/engine/app/blimp_url_request_context_getter.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698