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

Unified Diff: content/browser/session_history_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: content/browser/session_history_browsertest.cc
===================================================================
--- content/browser/session_history_browsertest.cc (revision 174946)
+++ content/browser/session_history_browsertest.cc (working copy)
@@ -431,18 +431,14 @@
int length;
ASSERT_TRUE(ExecuteJavaScriptAndExtractInt(
shell()->web_contents()->GetRenderViewHost(),
- "",
- "domAutomationController.send(history.length)",
- &length));
+ L"", L"domAutomationController.send(history.length)", &length));
EXPECT_EQ(1, length);
NavigateToURL(shell(), GetURL("title1.html"));
ASSERT_TRUE(ExecuteJavaScriptAndExtractInt(
shell()->web_contents()->GetRenderViewHost(),
- "",
- "domAutomationController.send(history.length)",
- &length));
+ L"", L"domAutomationController.send(history.length)", &length));
EXPECT_EQ(2, length);
// Now test that history.length is updated when the navigation is committed.
@@ -450,9 +446,7 @@
ASSERT_TRUE(ExecuteJavaScriptAndExtractInt(
shell()->web_contents()->GetRenderViewHost(),
- "",
- "domAutomationController.send(history.length)",
- &length));
+ L"", L"domAutomationController.send(history.length)", &length));
EXPECT_EQ(3, length);
GoBack();
@@ -463,9 +457,7 @@
ASSERT_TRUE(ExecuteJavaScriptAndExtractInt(
shell()->web_contents()->GetRenderViewHost(),
- "",
- "domAutomationController.send(history.length)",
- &length));
+ L"", L"domAutomationController.send(history.length)", &length));
EXPECT_EQ(2, length);
}

Powered by Google App Engine
This is Rietveld 408576698