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

Unified Diff: chrome/browser/automation/testing_automation_provider_win.cc

Issue 6312154: Remove wstring from RVH's run Javascript command.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 11 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/automation/testing_automation_provider_win.cc
===================================================================
--- chrome/browser/automation/testing_automation_provider_win.cc (revision 73805)
+++ chrome/browser/automation/testing_automation_provider_win.cc (working copy)
@@ -82,7 +82,7 @@
void TestingAutomationProvider::GetWindowTitle(int handle, string16* text) {
gfx::NativeWindow window = window_tracker_->GetResource(handle);
- std::wstring result;
+ string16 result;
int length = ::GetWindowTextLength(window) + 1;
::GetWindowText(window, WriteInto(&result, length), length);
text->assign(WideToUTF16(result));
Property changes on: chrome/browser/automation/testing_automation_provider_win.cc
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698