Index: components/open_from_clipboard/clipboard_url_provider.cc |
diff --git a/components/open_from_clipboard/clipboard_url_provider.cc b/components/open_from_clipboard/clipboard_url_provider.cc |
index 33fdf38bc81fbcd00c3f119df9c9c4bf0eeb7896..8590784f91048826b9b9efecde74946eeb25f503 100644 |
--- a/components/open_from_clipboard/clipboard_url_provider.cc |
+++ b/components/open_from_clipboard/clipboard_url_provider.cc |
@@ -31,6 +31,8 @@ void ClipboardURLProvider::Start(const AutocompleteInput& input, |
bool minimal_changes, |
bool called_due_to_focus) { |
matches_.clear(); |
+ if (!called_due_to_focus) |
+ return; |
// Attempt to add an AutocompleteMatch only if the user has not entered |
// anything in the omnibox. |
if (input.cursor_position() == base::string16::npos) { |