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

Unified Diff: chrome/browser/autocomplete/autocomplete_input.cc

Issue 131783012: Fix the handling of user gestures for external protocol handler dialogs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix build Created 6 years, 10 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/autocomplete/autocomplete_input.cc
diff --git a/chrome/browser/autocomplete/autocomplete_input.cc b/chrome/browser/autocomplete/autocomplete_input.cc
index aea5f7a5e64e17cad66969ca44756a2f39b937c1..17455cd07fd134eda3cc7c0449d0b30425dc3198 100644
--- a/chrome/browser/autocomplete/autocomplete_input.cc
+++ b/chrome/browser/autocomplete/autocomplete_input.cc
@@ -198,7 +198,7 @@ AutocompleteInput::Type AutocompleteInput::Parse(
// TODO(viettrungluu): get rid of conversion.
ExternalProtocolHandler::BlockState block_state =
ExternalProtocolHandler::GetBlockState(
- base::UTF16ToUTF8(parsed_scheme));
+ base::UTF16ToUTF8(parsed_scheme), true);
switch (block_state) {
case ExternalProtocolHandler::DONT_BLOCK:
return URL;

Powered by Google App Engine
This is Rietveld 408576698