Index: chrome/test/gpu/gpu_pixel_browsertest.cc |
=================================================================== |
--- chrome/test/gpu/gpu_pixel_browsertest.cc (revision 174946) |
+++ chrome/test/gpu/gpu_pixel_browsertest.cc (working copy) |
@@ -178,15 +178,14 @@ |
gfx::Rect new_bounds = GetNewTabContainerBounds(tab_container_size); |
- std::ostringstream js_call; |
+ std::wostringstream js_call; |
js_call << "preCallResizeInChromium("; |
js_call << new_bounds.width() << ", " << new_bounds.height(); |
js_call << ");"; |
ASSERT_TRUE(content::ExecuteJavaScript( |
chrome::GetActiveWebContents(browser())->GetRenderViewHost(), |
- "", |
- js_call.str())); |
+ L"", js_call.str())); |
std::string message; |
ASSERT_TRUE(message_queue.WaitForMessage(&message)); |