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

Unified Diff: chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc

Issue 10790141: Revert "Revert 148074 - Pass the render process id to the FrameNavigationState." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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: chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc
diff --git a/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc b/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc
index e5fc1f282fc865a994a692c91043567cdfd5e890..ef0b6525a4180bfc83329901dc8f5f890f9fd45e 100644
--- a/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc
+++ b/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc
@@ -189,7 +189,7 @@ IN_PROC_BROWSER_TEST_F(ExtensionApiTest, WebNavigationUserAction) {
params.media_type = WebKit::WebContextMenuData::MediaTypeNone;
params.page_url = url;
params.frame_id = WebNavigationTabObserver::Get(tab)->
- frame_navigation_state().GetMainFrameID();
+ frame_navigation_state().GetMainFrameID().frame_num;
params.link_url = extension->GetResourceURL("userAction/b.html");
TestRenderViewContextMenu menu(tab, params);
« no previous file with comments | « chrome/browser/extensions/api/web_navigation/web_navigation_api.cc ('k') | chrome/common/extensions/api/web_navigation.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698