Index: android_webview/native/aw_contents.cc |
diff --git a/android_webview/native/aw_contents.cc b/android_webview/native/aw_contents.cc |
index a0438a31d714525a6d7f573ffb22b04e4d3edef4..1fd2ec1d5857d77975ffa0ed45c5f4334d35f44b 100644 |
--- a/android_webview/native/aw_contents.cc |
+++ b/android_webview/native/aw_contents.cc |
@@ -584,7 +584,7 @@ void AwContents::DocumentHasImages(JNIEnv* env, jobject obj, jobject message) { |
namespace { |
void GenerateMHTMLCallback(ScopedJavaGlobalRef<jobject>* callback, |
- const FilePath& path, int64 size) { |
+ const base::FilePath& path, int64 size) { |
JNIEnv* env = AttachCurrentThread(); |
// Android files are UTF8, so the path conversion below is safe. |
Java_AwContents_generateMHTMLCallback( |
@@ -599,7 +599,7 @@ void AwContents::GenerateMHTML(JNIEnv* env, jobject obj, |
ScopedJavaGlobalRef<jobject>* j_callback = new ScopedJavaGlobalRef<jobject>(); |
j_callback->Reset(env, callback); |
web_contents_->GenerateMHTML( |
- FilePath(ConvertJavaStringToUTF8(env, jpath)), |
+ base::FilePath(ConvertJavaStringToUTF8(env, jpath)), |
base::Bind(&GenerateMHTMLCallback, base::Owned(j_callback))); |
} |