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

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 182713005: Remove frame ID from DidCommitProvisionalLoad. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix John's comments and signin test Created 6 years, 10 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/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index 5a712ff70fb765f1d1ff3bd3ab899cac142567b8..d2f712142f9c8786a538cc9e6db8402a69d6baf7 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -2103,18 +2103,18 @@ void WebContentsImpl::DidRedirectProvisionalLoad(
}
void WebContentsImpl::DidCommitProvisionalLoad(
- int64 frame_id,
+ RenderFrameHostImpl* render_frame_host,
const base::string16& frame_unique_name,
bool is_main_frame,
const GURL& url,
- PageTransition transition_type,
- RenderFrameHostImpl* render_frame_host) {
+ PageTransition transition_type) {
RenderViewHost* render_view_host = render_frame_host->render_view_host();
+ int render_frame_id = render_frame_host->GetRoutingID();
Charlie Reis 2014/03/03 07:14:50 Nasko: I changed this to store the render_frame_id
nasko 2014/03/03 15:01:22 The test will likely be removed as the old style s
// Notify observers about the commit of the provisional load.
FOR_EACH_OBSERVER(
WebContentsObserver,
observers_,
- DidCommitProvisionalLoadForFrame(frame_id,
+ DidCommitProvisionalLoadForFrame(render_frame_id,
frame_unique_name,
is_main_frame,
url,

Powered by Google App Engine
This is Rietveld 408576698