Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Unified Diff: content/browser/frame_host/interstitial_page_impl.cc

Issue 798723004: Fix copying from interstitial pages on OSX. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address more comments. Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/interstitial_page_impl.cc
diff --git a/content/browser/frame_host/interstitial_page_impl.cc b/content/browser/frame_host/interstitial_page_impl.cc
index 558117393ec17a9d85b22b4270067bb0051293df..9ce6261c6ce8a290719e8a2f3099d73c3f7f7141 100644
--- a/content/browser/frame_host/interstitial_page_impl.cc
+++ b/content/browser/frame_host/interstitial_page_impl.cc
@@ -700,6 +700,10 @@ InterstitialPageDelegate* InterstitialPageImpl::GetDelegateForTesting() {
return delegate_.get();
}
+WebContents* InterstitialPageImpl::GetAsWebContents() {
+ return web_contents_;
Charlie Reis 2015/04/27 23:39:26 This feels super risky to me. If callers hear som
+}
+
void InterstitialPageImpl::DontCreateViewForTesting() {
create_view_ = false;
}

Powered by Google App Engine
This is Rietveld 408576698