From 82f6fe52f932ea8b7c59450b376fe6fcf56797f8 Mon Sep 17 00:00:00 2001 From: bridiver Date: Mon, 19 Jun 2017 19:12:49 -0700 Subject: [PATCH] partially revert https://github.com/brave/muon/commit/0bb772c09ccb7ad7956ed87bd017c1524beb8d00 fixes no active frame from https://github.com/brave/browser-laptop/issues/9502 auditors @bbondy @evq --- brave/browser/guest_view/tab_view/tab_view_guest.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/brave/browser/guest_view/tab_view/tab_view_guest.cc b/brave/browser/guest_view/tab_view/tab_view_guest.cc index d03c87a36c..1571cd9423 100644 --- a/brave/browser/guest_view/tab_view/tab_view_guest.cc +++ b/brave/browser/guest_view/tab_view/tab_view_guest.cc @@ -165,8 +165,8 @@ void TabViewGuest::NavigateGuest(const std::string& src, void TabViewGuest::DidFinishNavigation( content::NavigationHandle* navigation_handle) { - if (navigation_handle->IsSameDocument() || !navigation_handle->IsInMainFrame()) { - return; + if (navigation_handle->IsInMainFrame()) { + src_ = web_contents()->GetURL(); } src_ = web_contents()->GetURL();