 Chromium Code Reviews
 Chromium Code Reviews Issue 1542213002:
  Merge to XFA: Start using allowed C++11 features.  (Closed) 
  Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
    
  
    Issue 1542213002:
  Merge to XFA: Start using allowed C++11 features.  (Closed) 
  Base URL: https://pdfium.googlesource.com/pdfium.git@xfa| 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; | 
| } |