Index: chrome/test/gpu/gpu_pixel_browsertest.cc |
diff --git a/chrome/test/gpu/gpu_pixel_browsertest.cc b/chrome/test/gpu/gpu_pixel_browsertest.cc |
index 559eb5e3c0946a3cb177a2e4963a939cff904c5f..8b7eb5506ff56af2daf955f451d9e9a94b1983b3 100644 |
--- a/chrome/test/gpu/gpu_pixel_browsertest.cc |
+++ b/chrome/test/gpu/gpu_pixel_browsertest.cc |
@@ -178,14 +178,15 @@ class GpuPixelBrowserTest : public InProcessBrowserTest { |
gfx::Rect new_bounds = GetNewTabContainerBounds(tab_container_size); |
- std::wostringstream js_call; |
+ std::ostringstream js_call; |
js_call << "preCallResizeInChromium("; |
js_call << new_bounds.width() << ", " << new_bounds.height(); |
js_call << ");"; |
ASSERT_TRUE(content::ExecuteJavaScript( |
chrome::GetActiveWebContents(browser())->GetRenderViewHost(), |
- L"", js_call.str())); |
+ "", |
+ js_call.str())); |
std::string message; |
ASSERT_TRUE(message_queue.WaitForMessage(&message)); |