diff options
author | Lei Zhang <thestig@chromium.org> | 2015-12-22 14:44:49 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-12-22 14:44:49 -0800 |
commit | ba2586d2c0a50df14aa2549a0a841e1d4b9af4b6 (patch) | |
tree | d36be5c25b4e31db2ccd7fd1a28471fee575773d /samples/image_diff.cc | |
parent | be9095d0b2819cdc88785b0b4fdfccf837eb96a9 (diff) | |
download | pdfium-ba2586d2c0a50df14aa2549a0a841e1d4b9af4b6.tar.xz |
Start using allowed C++11 features.
R=dml@google.com, thakis@chromium.org
Review URL: https://codereview.chromium.org/1544923002 .
Diffstat (limited to 'samples/image_diff.cc')
-rw-r--r-- | samples/image_diff.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/image_diff.cc b/samples/image_diff.cc index 88a3956d09..d24652910f 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; } |