| Index: chrome/browser/chromeos/offline/offline_load_page_unittest.cc
|
| ===================================================================
|
| --- chrome/browser/chromeos/offline/offline_load_page_unittest.cc (revision 113024)
|
| +++ chrome/browser/chromeos/offline/offline_load_page_unittest.cc (working copy)
|
| @@ -8,6 +8,7 @@
|
| #include "chrome/test/base/chrome_render_view_host_test_harness.h"
|
| #include "content/browser/tab_contents/navigation_entry.h"
|
| #include "content/browser/tab_contents/test_tab_contents.h"
|
| +#include "content/common/view_messages.h"
|
| #include "content/test/test_browser_thread.h"
|
|
|
| using content::BrowserThread;
|
| @@ -74,9 +75,10 @@
|
| }
|
|
|
| void Navigate(const char* url, int page_id) {
|
| - contents()->TestDidNavigate(
|
| - contents()->render_view_host(), page_id, GURL(url),
|
| - content::PAGE_TRANSITION_TYPED);
|
| + ViewHostMsg_FrameNavigate_Params params;
|
| + InitNavigateParams(
|
| + ¶ms, page_id, GURL(url), content::PAGE_TRANSITION_TYPED);
|
| + contents()->TestDidNavigate(contents()->render_view_host(), params);
|
| }
|
|
|
| void ShowInterstitial(const char* url) {
|
|
|