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

Unified Diff: content/public/test/render_view_test.cc

Issue 16032007: Create RenderFrame/RenderFrameHost for the main frame of a page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removing routing ID expectations. Created 7 years, 7 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
« no previous file with comments | « content/public/test/mock_render_thread.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/render_view_test.cc
diff --git a/content/public/test/render_view_test.cc b/content/public/test/render_view_test.cc
index 25b55f441ac3ece06be93830588d74d41cf868ec..67ef4e8452e5175bc2fa97696eaa90dbf10e7bfd 100644
--- a/content/public/test/render_view_test.cc
+++ b/content/public/test/render_view_test.cc
@@ -39,7 +39,8 @@ using WebKit::WebURLRequest;
namespace {
const int32 kOpenerId = -2;
const int32 kRouteId = 5;
-const int32 kNewWindowRouteId = 6;
+const int32 kMainFrameRouteId = 6;
+const int32 kNewWindowRouteId = 7;
const int32 kSurfaceId = 42;
} // namespace
@@ -170,6 +171,7 @@ void RenderViewTest::SetUp() {
WebPreferences(),
new SharedRenderViewCounter(0),
kRouteId,
+ kMainFrameRouteId,
kSurfaceId,
dom_storage::kInvalidSessionStorageNamespaceId,
string16(),
« no previous file with comments | « content/public/test/mock_render_thread.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698