summaryrefslogtreecommitdiffstats
path: root/content/browser/webui
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/webui')
-rw-r--r--content/browser/webui/web_ui_data_source_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/browser/webui/web_ui_data_source_unittest.cc b/content/browser/webui/web_ui_data_source_unittest.cc
index bece8d0..24d1d2b 100644
--- a/content/browser/webui/web_ui_data_source_unittest.cc
+++ b/content/browser/webui/web_ui_data_source_unittest.cc
@@ -141,7 +141,7 @@ TEST_F(WebUIDataSourceTest, NamedResource) {
TEST_F(WebUIDataSourceTest, MimeType) {
const char* html = "text/html";
const char* js = "application/javascript";
- EXPECT_EQ(GetMimeType(std::string()), html);
+ EXPECT_EQ(GetMimeType(""), html);
EXPECT_EQ(GetMimeType("foo"), html);
EXPECT_EQ(GetMimeType("foo.html"), html);
EXPECT_EQ(GetMimeType(".js"), js);