diff options
Diffstat (limited to 'chrome/test/base/ui_test_utils.cc')
-rw-r--r-- | chrome/test/base/ui_test_utils.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/test/base/ui_test_utils.cc b/chrome/test/base/ui_test_utils.cc index 932cafa..3db0e50 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. |