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

Unified Diff: content/browser/renderer_host/render_view_host_unittest.cc

Issue 21955003: Cleanup: Use content::kAboutBlankURL instead of the raw string in contents/. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix build Created 7 years, 4 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: content/browser/renderer_host/render_view_host_unittest.cc
===================================================================
--- content/browser/renderer_host/render_view_host_unittest.cc (revision 215674)
+++ content/browser/renderer_host/render_view_host_unittest.cc (working copy)
@@ -63,7 +63,7 @@
TEST_F(RenderViewHostTest, FilterAbout) {
test_rvh()->SendNavigate(1, GURL("about:cache"));
ASSERT_TRUE(controller().GetActiveEntry());
- EXPECT_EQ(GURL("about:blank"), controller().GetActiveEntry()->GetURL());
+ EXPECT_EQ(GURL(kAboutBlankURL), controller().GetActiveEntry()->GetURL());
}
// Create a full screen popup RenderWidgetHost and View.
@@ -161,8 +161,8 @@
drop_data.url = file_url;
drop_data.html_base_url = file_url;
test_rvh()->TestOnStartDragging(drop_data);
- EXPECT_EQ(GURL("about:blank"), delegate_view.drag_url());
- EXPECT_EQ(GURL("about:blank"), delegate_view.html_base_url());
+ EXPECT_EQ(GURL(kAboutBlankURL), delegate_view.drag_url());
+ EXPECT_EQ(GURL(kAboutBlankURL), delegate_view.html_base_url());
GURL http_url = GURL("http://www.domain.com/index.html");
drop_data.url = http_url;
« no previous file with comments | « content/browser/media/media_browsertest.cc ('k') | content/browser/renderer_host/render_widget_host_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698