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

Unified Diff: chrome/browser/file_select_helper.cc

Issue 10536066: android content shell bringup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add comments Created 8 years, 6 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: chrome/browser/file_select_helper.cc
diff --git a/chrome/browser/file_select_helper.cc b/chrome/browser/file_select_helper.cc
index 591f725fa065d0454e34361d1d87fbd39782aadd..7d927b2925f7f879feefac025e8d570b5aec0e47 100644
--- a/chrome/browser/file_select_helper.cc
+++ b/chrome/browser/file_select_helper.cc
@@ -407,7 +407,11 @@ void FileSelectHelper::RunFileChooserOnUIThread(
FILE_PATH_LITERAL(""),
web_contents_,
owning_window,
+#if defined(OS_ANDROID)
+ reinterpret_cast<void*>(const_cast<content::FileChooserParams*>(&params)));
jam 2012/06/08 23:45:09 80 chars
jam 2012/06/08 23:45:09 nit: are you sure you need to reinterpret_cast to
John Grabowski 2012/06/12 01:46:29 I think no.
jam 2012/06/14 01:31:40 any pointer is a void*, so you shouldn't need a st
+#else
NULL);
+#endif
select_file_types_.reset();
}

Powered by Google App Engine
This is Rietveld 408576698