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

Unified Diff: content/browser/encrypted_media_browsertest.cc

Issue 11728003: Change ExecuteJavaScript* helper functions in browser_test_utils.{h,cc} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adding files for gpu_tests and NaCl browser tests. Created 7 years, 12 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/encrypted_media_browsertest.cc
diff --git a/content/browser/encrypted_media_browsertest.cc b/content/browser/encrypted_media_browsertest.cc
index 0313733c01b88c895173c5e1b612fa9449df1b5a..0aee2edb52bbd14da7f7cecbd6c2e396788fce02 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;
}
}
« no previous file with comments | « content/browser/dom_storage/dom_storage_browsertest.cc ('k') | content/browser/fileapi/file_system_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698