| Index: printing/pdf_metafile_skia.cc
|
| ===================================================================
|
| --- printing/pdf_metafile_skia.cc (revision 142466)
|
| +++ printing/pdf_metafile_skia.cc (working copy)
|
| @@ -183,7 +183,8 @@
|
| bool shrink_to_fit,
|
| bool stretch_to_fit,
|
| bool center_horizontally,
|
| - bool center_vertically) const {
|
| + bool center_vertically,
|
| + bool autorotate) const {
|
| DCHECK_GT(data_->pdf_stream_.getOffset(), 0U);
|
| if (data_->pdf_cg_.GetDataSize() == 0) {
|
| SkAutoDataUnref data(data_->pdf_stream_.copyToData());
|
| @@ -191,7 +192,7 @@
|
| }
|
| return data_->pdf_cg_.RenderPage(page_number, context, rect, shrink_to_fit,
|
| stretch_to_fit, center_horizontally,
|
| - center_vertically);
|
| + center_vertically, autorotate);
|
| }
|
| #endif
|
|
|
|
|