Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash fix for back button around newtab #331

Merged
merged 3 commits into from
Aug 16, 2018
Merged

Crash fix for back button around newtab #331

merged 3 commits into from
Aug 16, 2018

Conversation

bbondy
Copy link
Member

@bbondy bbondy commented Aug 16, 2018

Fix brave/brave-browser#708
Fix brave/brave-browser#707

Submitter Checklist:

  • Submitted a ticket for my issue if one did not already exist.
  • Used Github auto-closing keywords in the commit message.
  • Added/updated tests for this change (for new code or code which already has tests).
  • Ran git rebase -i to squash commits (if needed).
  • Tagged reviewers and labelled the pull request as needed.
  • Request a security/privacy review as needed.

Test Plan:

Reviewer Checklist:

  • New files have MPL-2.0 license header.
  • Request a security/privacy review as needed.
  • Adequate test coverage exists to prevent regressions

@bbondy bbondy self-assigned this Aug 16, 2018
@bbondy bbondy requested a review from emerick August 16, 2018 13:47
render_view_host = web_contents->GetRenderViewHost();
}
}
if (render_view_host) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this check duplicates the check on the next line.

@bbondy
Copy link
Member Author

bbondy commented Aug 16, 2018

Thanks. PR read for re-review.

@bbondy
Copy link
Member Author

bbondy commented Aug 16, 2018

Verified builds and tests pass on macOS, Windows, Linux.

Copy link
Contributor

@emerick emerick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bbondy bbondy merged commit 4ed1763 into master Aug 16, 2018
@bbondy bbondy deleted the crash-fix branch August 20, 2018 01:38
fmarier pushed a commit that referenced this pull request Oct 29, 2019
petemill pushed a commit that referenced this pull request Jul 27, 2020
petemill pushed a commit that referenced this pull request Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants