diff options
author | Patrice Arruda <patricearruda@google.com> | 2020-06-25 11:55:41 -0700 |
---|---|---|
committer | Patrice Arruda <patricearruda@google.com> | 2020-06-25 12:25:24 -0700 |
commit | 7f4776e1ddb05395a4025a30de8d7b78d62ac9aa (patch) | |
tree | a4ac4cdd694b156cc15be3c7c18bfd92db1fefdd /misc/chrome | |
parent | 3affa1d2632b48f9589ab4c91ca1b825d7c73a87 (diff) | |
download | linux-x86-7f4776e1ddb05395a4025a30de8d7b78d62ac9aa.tar.gz |
Update linux go to 1.15beta1android-r-beta-3android-r-beta-2
From https://ci.android.com/builds/submitted/6626886/linux/latest/go.zip
Test: m blueprint_tools
Change-Id: Ib0d1176e769611b25554177aef209bc7e6456694
Diffstat (limited to 'misc/chrome')
-rw-r--r-- | misc/chrome/gophertool/background.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/chrome/gophertool/background.js b/misc/chrome/gophertool/background.js index d18faa986..79ae05db4 100644 --- a/misc/chrome/gophertool/background.js +++ b/misc/chrome/gophertool/background.js @@ -1,7 +1,7 @@ chrome.omnibox.onInputEntered.addListener(function(t) { var url = urlForInput(t); if (url) { - chrome.tabs.getSelected(null, function(tab) { + chrome.tabs.query({ "active": true, "currentWindow": true }, function(tab) { if (!tab) return; chrome.tabs.update(tab.id, { "url": url, "selected": true }); }); |