diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-05-03 13:42:47 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-05-15 10:27:51 +0000 |
commit | 8c5c43c7b138c9b4b0bf56d946e61d3bbc111bec (patch) | |
tree | d29d987c4d7b173cf853279b79a51598f104b403 /chromium/chrome/browser/extensions/api/tabs/tabs_event_router.cc | |
parent | 830c9e163d31a9180fadca926b3e1d7dfffb5021 (diff) |
BASELINE: Update Chromium to 66.0.3359.156
Change-Id: I0c9831ad39911a086b6377b16f995ad75a51e441
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'chromium/chrome/browser/extensions/api/tabs/tabs_event_router.cc')
-rw-r--r-- | chromium/chrome/browser/extensions/api/tabs/tabs_event_router.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chromium/chrome/browser/extensions/api/tabs/tabs_event_router.cc b/chromium/chrome/browser/extensions/api/tabs/tabs_event_router.cc index 1ab063b1ea9..af63faf2661 100644 --- a/chromium/chrome/browser/extensions/api/tabs/tabs_event_router.cc +++ b/chromium/chrome/browser/extensions/api/tabs/tabs_event_router.cc @@ -45,7 +45,8 @@ bool WillDispatchTabUpdatedEvent( Event* event, const base::DictionaryValue* listener_filter) { std::unique_ptr<api::tabs::Tab> tab_object = - ExtensionTabUtil::CreateTabObject(contents, extension); + ExtensionTabUtil::CreateTabObject(contents, ExtensionTabUtil::kScrubTab, + extension); std::unique_ptr<base::DictionaryValue> tab_value = tab_object->ToValue(); @@ -190,7 +191,9 @@ static bool WillDispatchTabCreatedEvent( const base::DictionaryValue* listener_filter) { event->event_args->Clear(); std::unique_ptr<base::DictionaryValue> tab_value = - ExtensionTabUtil::CreateTabObject(contents, extension)->ToValue(); + ExtensionTabUtil::CreateTabObject(contents, ExtensionTabUtil::kScrubTab, + extension) + ->ToValue(); tab_value->SetBoolean(tabs_constants::kSelectedKey, active); tab_value->SetBoolean(tabs_constants::kActiveKey, active); event->event_args->Append(std::move(tab_value)); |