| Index: chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
|
| diff --git a/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc b/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
|
| index a66b844bd1530dc7353dc4be476e4f513469c701..1858c36a9ea5eb864ca632d3b7bc39015222c8e3 100644
|
| --- a/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
|
| +++ b/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
|
| @@ -27,7 +27,6 @@
|
| #include "chrome/browser/renderer_preferences_util.h"
|
| #include "chrome/browser/safe_browsing/threat_details.h"
|
| #include "chrome/browser/safe_browsing/ui_manager.h"
|
| -#include "chrome/browser/tab_contents/tab_util.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "chrome/common/url_constants.h"
|
| @@ -496,8 +495,7 @@ void SafeBrowsingBlockingPage::ShowBlockingPage(
|
| SafeBrowsingUIManager* ui_manager,
|
| const UnsafeResource& unsafe_resource) {
|
| DVLOG(1) << __func__ << " " << unsafe_resource.url.spec();
|
| - WebContents* web_contents = tab_util::GetWebContentsByFrameID(
|
| - unsafe_resource.render_process_host_id, unsafe_resource.render_frame_id);
|
| + WebContents* web_contents = unsafe_resource.web_contents_getter.Run();
|
|
|
| InterstitialPage* interstitial =
|
| InterstitialPage::GetInterstitialPage(web_contents);
|
|
|