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

Unified Diff: chrome/browser/ui/panels/panel_browsertest.cc

Issue 11734018: Revert 174880 due to compilation error in pdf_browsertest.cc (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1374/src/
Patch Set: 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
Index: chrome/browser/ui/panels/panel_browsertest.cc
===================================================================
--- chrome/browser/ui/panels/panel_browsertest.cc (revision 174946)
+++ chrome/browser/ui/panels/panel_browsertest.cc (working copy)
@@ -425,8 +425,8 @@
WaitForAutoResizeWider enlarge(panel);
EXPECT_TRUE(content::ExecuteJavaScript(
panel->GetWebContents()->GetRenderViewHost(),
- "",
- "changeSize(50);"));
+ std::wstring(),
+ L"changeSize(50);"));
enlarge.Wait();
gfx::Rect bounds_on_grow = panel->GetBounds();
EXPECT_GT(bounds_on_grow.width(), initial_bounds.width());
@@ -436,8 +436,8 @@
WaitForAutoResizeNarrower shrink(panel);
EXPECT_TRUE(content::ExecuteJavaScript(
panel->GetWebContents()->GetRenderViewHost(),
- "",
- "changeSize(-30);"));
+ std::wstring(),
+ L"changeSize(-30);"));
shrink.Wait();
gfx::Rect bounds_on_shrink = panel->GetBounds();
EXPECT_LT(bounds_on_shrink.width(), bounds_on_grow.width());
@@ -1566,9 +1566,9 @@
WaitForAutoResizeWider enlarge(panel);
EXPECT_TRUE(content::ExecuteJavaScript(
panel->GetWebContents()->GetRenderViewHost(),
- "",
- "document.body.innerHTML ="
- " '<nobr>line of text and a <button>Button</button>';"));
+ std::wstring(),
+ L"document.body.innerHTML ="
+ L"'<nobr>line of text and a <button>Button</button>';"));
enlarge.Wait();
// The panel should have become larger in both dimensions (the minimums
Property changes on: chrome/browser/ui/panels/panel_browsertest.cc
___________________________________________________________________
Deleted: svn:mergeinfo
« no previous file with comments | « chrome/browser/ui/find_bar/find_bar_host_browsertest.cc ('k') | chrome/browser/ui/webui/bookmarks_ui_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698