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

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

Issue 2496203003: Add printing tests to ensure window.print() works for subframes.
Patch Set: Created 4 years, 1 month 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/render_frame_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index 4d0821ed925801b2084dc650573ca6fa1b5bd91f..74e65279e1224a02c97c6efdc22005e316ff31d1 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -435,7 +435,7 @@ bool RenderFrameHostImpl::IsCrossProcessSubframe() {
return GetSiteInstance() != parent_->GetSiteInstance();
}
-const GURL& RenderFrameHostImpl::GetLastCommittedURL() {
+const GURL& RenderFrameHostImpl::GetLastCommittedURL() const {
return last_committed_url();
}

Powered by Google App Engine
This is Rietveld 408576698