| Index: chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc
|
| diff --git a/chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc b/chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc
|
| index 2cdcaa6f1c2df20c947360521eb56dfc54069fcc..ac74ce13664972421c5f89ae5e23cf827a96b023 100644
|
| --- a/chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc
|
| +++ b/chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc
|
| @@ -66,8 +66,6 @@ void DispatchEvent(content::BrowserContext* browser_context,
|
| std::unique_ptr<Event> CreateOnBeforeNavigateEvent(
|
| content::NavigationHandle* navigation_handle) {
|
| GURL url(navigation_handle->GetURL());
|
| - if (navigation_handle->IsSrcdoc())
|
| - url = GURL(content::kAboutSrcDocURL);
|
|
|
| web_navigation::OnBeforeNavigate::Details details;
|
| details.tab_id =
|
| @@ -105,9 +103,6 @@ void DispatchOnCommitted(events::HistogramValue histogram_value,
|
| navigation_handle->GetRenderFrameHost();
|
| ui::PageTransition transition_type = navigation_handle->GetPageTransition();
|
|
|
| - if (navigation_handle->IsSrcdoc())
|
| - url = GURL(content::kAboutSrcDocURL);
|
| -
|
| std::unique_ptr<base::ListValue> args(new base::ListValue());
|
| std::unique_ptr<base::DictionaryValue> dict(new base::DictionaryValue());
|
| dict->SetInteger(keys::kTabIdKey, ExtensionTabUtil::GetTabId(web_contents));
|
|
|