Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2460)

Unified Diff: android_webview/native/aw_web_contents_delegate.cc

Issue 2735633004: HTML Media Capture: update capture attribute to use string. (Closed)
Patch Set: Fix for android webview Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: android_webview/native/aw_web_contents_delegate.cc
diff --git a/android_webview/native/aw_web_contents_delegate.cc b/android_webview/native/aw_web_contents_delegate.cc
index 20819bba2805537371c981c9e2044d41a034fe22..8afb9ef798c9a39c7b0d948aa2c2ed986aeb9ac1 100644
--- a/android_webview/native/aw_web_contents_delegate.cc
+++ b/android_webview/native/aw_web_contents_delegate.cc
@@ -125,7 +125,7 @@ void AwWebContentsDelegate::RunFileChooser(
params.default_file_name.empty()
? nullptr
: ConvertUTF8ToJavaString(env, params.default_file_name.value()),
- params.capture);
+ ConvertUTF16ToJavaString(env, params.capture));
}
void AwWebContentsDelegate::AddNewContents(WebContents* source,

Powered by Google App Engine
This is Rietveld 408576698