win: Fix compilation error.

This commit is contained in:
Cheng Zhao 2014-09-05 11:44:30 +08:00
parent 222f8e1028
commit fadfd74923

View file

@ -101,7 +101,9 @@ void NodeDebugger::OnMessage(const std::string& message) {
CloseSession();
base::string16 message16 = base::UTF8ToUTF16(message);
v8::Debug::SendCommand(isolate_, message16.data(), message16.size());
v8::Debug::SendCommand(
isolate_,
reinterpret_cast<const uint16_t*>(message16.data()), message16.size());
content::BrowserThread::PostTask(
content::BrowserThread::UI, FROM_HERE,