Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

Commit

Permalink
partially revert 0bb772c
Browse files Browse the repository at this point in the history
fixes no active frame from brave/browser-laptop#9502
auditors @bbondy @evq
  • Loading branch information
bridiver committed Jun 20, 2017
1 parent 1f92080 commit 82f6fe5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions brave/browser/guest_view/tab_view/tab_view_guest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 82f6fe5

Please sign in to comment.