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

Unified Diff: samples/image_diff.cc

Issue 1544923002: Start using allowed C++11 features. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Created 5 years 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 | « core/src/fxge/ge/fx_ge_fontmap.cpp ('k') | third_party/base/nonstd_unique_ptr.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/image_diff.cc
diff --git a/samples/image_diff.cc b/samples/image_diff.cc
index 88a3956d09262eb3c8a6768e25893f4aa07792b7..d24652910fc3db53fd5eae20b8c977eb4f37a314 100644
--- a/samples/image_diff.cc
+++ b/samples/image_diff.cc
@@ -80,8 +80,8 @@ class Image {
fclose(f);
- if (!image_diff_png::DecodePNG(&compressed[0], compressed.size(),
- &data_, &w_, &h_)) {
+ if (!image_diff_png::DecodePNG(compressed.data(), compressed.size(), &data_,
+ &w_, &h_)) {
Clear();
return false;
}
« no previous file with comments | « core/src/fxge/ge/fx_ge_fontmap.cpp ('k') | third_party/base/nonstd_unique_ptr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698