diff options
Diffstat (limited to 'chrome/browser/automation/automation_provider.cc')
-rw-r--r-- | chrome/browser/automation/automation_provider.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc index 93aad4d..b0c09ac 100644 --- a/chrome/browser/automation/automation_provider.cc +++ b/chrome/browser/automation/automation_provider.cc @@ -1831,7 +1831,7 @@ void AutomationProvider::SetBooleanPreference(int handle, // Gets the current used encoding name of the page in the specified tab. void AutomationProvider::GetPageCurrentEncoding( - int tab_handle, std::wstring* current_encoding) { + int tab_handle, std::string* current_encoding) { if (tab_tracker_->ContainsHandle(tab_handle)) { NavigationController* nav = tab_tracker_->GetResource(tab_handle); Browser* browser = FindAndActivateTab(nav); @@ -1844,7 +1844,7 @@ void AutomationProvider::GetPageCurrentEncoding( // Gets the current used encoding name of the page in the specified tab. void AutomationProvider::OverrideEncoding(int tab_handle, - const std::wstring& encoding_name, + const std::string& encoding_name, bool* success) { *success = false; #if defined(OS_WIN) |