| Index: android_webview/renderer/print_web_view_helper_linux.cc
|
| diff --git a/android_webview/renderer/print_web_view_helper_linux.cc b/android_webview/renderer/print_web_view_helper_linux.cc
|
| index 02298375c6b89497ea52a70080216bab1a79400f..6895b252f5eca5247608843e10fc13cba123ee42 100644
|
| --- a/android_webview/renderer/print_web_view_helper_linux.cc
|
| +++ b/android_webview/renderer/print_web_view_helper_linux.cc
|
| @@ -52,8 +52,8 @@ bool PrintWebViewHelper::RenderPreviewPage(
|
| } else if (print_preview_context_.IsModifiable() &&
|
| print_preview_context_.generate_draft_pages()) {
|
| DCHECK(!draft_metafile.get());
|
| - draft_metafile.reset(
|
| - print_preview_context_.metafile()->GetMetafileForCurrentPage());
|
| + draft_metafile =
|
| + print_preview_context_.metafile()->GetMetafileForCurrentPage();
|
| }
|
| return PreviewPageRendered(page_number, draft_metafile.get());
|
| }
|
|
|