diff options
author | Lei Zhang <thestig@chromium.org> | 2015-12-22 14:57:45 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-12-22 14:57:45 -0800 |
commit | 9ba6a147311eacb933c175168de6d11c439985d3 (patch) | |
tree | a1a75ac52168294f73b6eda5c65c26e4444b4c47 /samples/image_diff.cc | |
parent | cd2bb30aba89a05c0bbd4d6973fa070205e3a1e8 (diff) | |
download | pdfium-9ba6a147311eacb933c175168de6d11c439985d3.tar.xz |
Merge to XFA: Start using allowed C++11 features.
TBR=dml@google.com, thakis@chromium.org
Review URL: https://codereview.chromium.org/1544923002 .
Review URL: https://codereview.chromium.org/1545823002 .
(cherry picked from commit ba2586d2c0a50df14aa2549a0a841e1d4b9af4b6)
(cherry picked from commit 87f7d29531dabfd66e547a6be31a08272ff631d5)
Review URL: https://codereview.chromium.org/1542213002 .
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; } |