Index: chrome/browser/extensions/extension_keybinding_apitest.cc |
=================================================================== |
--- chrome/browser/extensions/extension_keybinding_apitest.cc (revision 174946) |
+++ chrome/browser/extensions/extension_keybinding_apitest.cc (working copy) |
@@ -90,11 +90,10 @@ |
// Verify the command worked. |
bool result = false; |
ASSERT_TRUE(content::ExecuteJavaScriptAndExtractBool( |
- tab->GetRenderViewHost(), |
- "", |
- "setInterval(function(){" |
- " if(document.body.bgColor == 'red'){" |
- " window.domAutomationController.send(true)}}, 100)", |
+ tab->GetRenderViewHost(), L"", |
+ L"setInterval(function(){" |
+ L" if(document.body.bgColor == 'red'){" |
+ L" window.domAutomationController.send(true)}}, 100)", |
&result)); |
ASSERT_TRUE(result); |
@@ -104,11 +103,10 @@ |
result = false; |
ASSERT_TRUE(content::ExecuteJavaScriptAndExtractBool( |
- tab->GetRenderViewHost(), |
- "", |
- "setInterval(function(){" |
- " if(document.body.bgColor == 'blue'){" |
- " window.domAutomationController.send(true)}}, 100)", |
+ tab->GetRenderViewHost(), L"", |
+ L"setInterval(function(){" |
+ L" if(document.body.bgColor == 'blue'){" |
+ L" window.domAutomationController.send(true)}}, 100)", |
&result)); |
ASSERT_TRUE(result); |
} |
@@ -152,11 +150,10 @@ |
WebContents* tab = chrome::GetActiveWebContents(browser()); |
bool result = false; |
ASSERT_TRUE(content::ExecuteJavaScriptAndExtractBool( |
- tab->GetRenderViewHost(), |
- "", |
- "setInterval(function(){" |
- " if(document.body.bgColor == 'red'){" |
- " window.domAutomationController.send(true)}}, 100)", |
+ tab->GetRenderViewHost(), L"", |
+ L"setInterval(function(){" |
+ L" if(document.body.bgColor == 'red'){" |
+ L" window.domAutomationController.send(true)}}, 100)", |
&result)); |
ASSERT_TRUE(result); |
} |