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

Unified Diff: trunk/src/chrome/renderer/safe_browsing/phishing_classifier_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
« no previous file with comments | « no previous file | trunk/src/chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc
===================================================================
--- trunk/src/chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc (revision 241158)
+++ trunk/src/chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc (working copy)
@@ -33,13 +33,6 @@
using ::testing::Not;
using ::testing::Pair;
-namespace {
-
-// The first RenderFrame is routing ID 1, and the first RenderView is 2.
-const int kRenderViewRoutingId = 2;
-
-}
-
namespace safe_browsing {
class PhishingClassifierTest : public InProcessBrowserTest {
@@ -99,7 +92,7 @@
ASSERT_TRUE(scorer_.get());
classifier_.reset(new PhishingClassifier(
- content::RenderView::FromRoutingID(kRenderViewRoutingId),
+ content::RenderView::FromRoutingID(1),
clock_));
}
« no previous file with comments | « no previous file | trunk/src/chrome/renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698