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

Unified Diff: trunk/src/content/renderer/resource_fetcher_browsertest.cc

Issue 105523006: Revert 241151 "Make RenderFrameHostManager swap RenderFrameHosts..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years 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: trunk/src/content/renderer/resource_fetcher_browsertest.cc
===================================================================
--- trunk/src/content/renderer/resource_fetcher_browsertest.cc (revision 241158)
+++ trunk/src/content/renderer/resource_fetcher_browsertest.cc (working copy)
@@ -25,13 +25,6 @@
using blink::WebURLRequest;
using blink::WebURLResponse;
-namespace {
-
-// The first RenderFrame is routing ID 1, and the first RenderView is 2.
-const int kRenderViewRoutingId = 2;
-
-}
-
namespace content {
static const int kMaxWaitTimeMs = 5000;
@@ -142,7 +135,7 @@
RenderView* GetRenderView() {
// We could have the test on the UI thread get the WebContent's routing ID,
// but we know this will be the first RV so skip that and just hardcode it.
- return RenderView::FromRoutingID(kRenderViewRoutingId);
+ return RenderView::FromRoutingID(1);
}
void ResourceFetcherDownloadOnRenderer(const GURL& url) {
« no previous file with comments | « trunk/src/content/renderer/dom_serializer_browsertest.cc ('k') | trunk/src/content/test/test_render_frame_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698