Index: chrome/test/base/ui_test_utils.cc |
diff --git a/chrome/test/base/ui_test_utils.cc b/chrome/test/base/ui_test_utils.cc |
index 932cafa9b734c957eb07d640e028d60d4feb6735..3db0e503c082d05c3a72ea6be8cf50a98003d84c 100644 |
--- a/chrome/test/base/ui_test_utils.cc |
+++ b/chrome/test/base/ui_test_utils.cc |
@@ -564,11 +564,11 @@ class SnapshotTaker { |
bool TakeEntirePageSnapshot(RenderViewHost* rvh, |
SkBitmap* bitmap) WARN_UNUSED_RESULT { |
- const wchar_t* script = |
- L"window.domAutomationController.send(" |
- L" JSON.stringify([document.width, document.height]))"; |
+ const char* script = |
+ "window.domAutomationController.send(" |
+ "JSON.stringify([document.width, document.height]))"; |
std::string json; |
- if (!content::ExecuteJavaScriptAndExtractString(rvh, L"", script, &json)) |
+ if (!content::ExecuteJavaScriptAndExtractString(rvh, "", script, &json)) |
return false; |
// Parse the JSON. |