summaryrefslogtreecommitdiffstats
path: root/content/browser/encrypted_media_browsertest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/encrypted_media_browsertest.cc')
-rw-r--r--content/browser/encrypted_media_browsertest.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/content/browser/encrypted_media_browsertest.cc b/content/browser/encrypted_media_browsertest.cc
index 0313733..0aee2ed 100644
--- a/content/browser/encrypted_media_browsertest.cc
+++ b/content/browser/encrypted_media_browsertest.cc
@@ -77,8 +77,10 @@ class EncryptedMediaTest : public testing::WithParamInterface<const char*>,
if (final_title == kFailed) {
std::string fail_message;
EXPECT_TRUE(ExecuteJavaScriptAndExtractString(
- shell()->web_contents()->GetRenderViewHost(), L"",
- L"window.domAutomationController.send(failMessage);", &fail_message));
+ shell()->web_contents()->GetRenderViewHost(),
+ std::string(),
+ "window.domAutomationController.send(failMessage);",
+ &fail_message));
LOG(INFO) << "Test failed: " << fail_message;
}
}