| Index: android_webview/native/aw_contents.cc
|
| diff --git a/android_webview/native/aw_contents.cc b/android_webview/native/aw_contents.cc
|
| index 77e35efbe3cba8f86c7d48bec6d05404d65fc5ae..8566a671bb8ed9ac9c208ef660a0b71265ace05a 100644
|
| --- a/android_webview/native/aw_contents.cc
|
| +++ b/android_webview/native/aw_contents.cc
|
| @@ -69,6 +69,7 @@
|
| #include "content/public/browser/render_view_host.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/common/message_port_types.h"
|
| +#include "content/public/common/mhtml_generation.h"
|
| #include "content/public/common/renderer_preferences.h"
|
| #include "content/public/common/ssl_status.h"
|
| #include "jni/AwContents_jni.h"
|
| @@ -404,8 +405,7 @@ void AwContents::GenerateMHTML(JNIEnv* env,
|
| j_callback->Reset(env, callback);
|
| base::FilePath target_path(ConvertJavaStringToUTF8(env, jpath));
|
| web_contents_->GenerateMHTML(
|
| - target_path,
|
| - false /* use_binary_encoding */,
|
| + content::MHTMLGenerationParams(target_path),
|
| base::Bind(&GenerateMHTMLCallback, base::Owned(j_callback), target_path));
|
| }
|
|
|
|
|