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

Unified Diff: chrome/test/gpu/gpu_pixel_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
« no previous file with comments | « chrome/test/base/ui_test_utils.cc ('k') | content/browser/bookmarklet_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
« no previous file with comments | « chrome/test/base/ui_test_utils.cc ('k') | content/browser/bookmarklet_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698