summaryrefslogtreecommitdiffstats
path: root/chrome/browser/debugger/debugger_host_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/debugger/debugger_host_impl.cpp')
-rw-r--r--chrome/browser/debugger/debugger_host_impl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/debugger/debugger_host_impl.cpp b/chrome/browser/debugger/debugger_host_impl.cpp
index 04eba09..beeb398 100644
--- a/chrome/browser/debugger/debugger_host_impl.cpp
+++ b/chrome/browser/debugger/debugger_host_impl.cpp
@@ -65,7 +65,7 @@ class TabContentsReference : public NotificationObserver {
};
-DebuggerHostImpl::DebuggerHostImpl(DebuggerInputOutput* io)
+DebuggerHostImpl::DebuggerHostImpl(DebuggerInputOutput* io)
: io_(io),
debugger_ready_(true) {
}
@@ -98,7 +98,7 @@ void DebuggerHostImpl::OnDebugAttach() {
std::wstring title;
const TabContents* t = GetTabContentsBeingDebugged();
if (t) {
- title = t->GetTitle();
+ title = UTF16ToWideHack(t->GetTitle());
}
ListValue* argv = new ListValue;
@@ -178,7 +178,7 @@ void DebuggerHostImpl::OnDebuggerHostMsg(const ListValue* args) {
return;
}
io_->SetDebuggerBreak(brk == L"true");
- }
+ }
}
TabContents* DebuggerHostImpl::GetTabContentsBeingDebugged() const {