Index: remoting/host/clipboard_win.cc |
diff --git a/remoting/host/clipboard_win.cc b/remoting/host/clipboard_win.cc |
index dfb627013aa483d075802901a10c0a2084133622..288517948a32e7302be5767c1b0edf139110d20d 100644 |
--- a/remoting/host/clipboard_win.cc |
+++ b/remoting/host/clipboard_win.cc |
@@ -242,7 +242,7 @@ void ClipboardWin::OnClipboardUpdate() { |
return; |
} |
- base::win::ScopedHGlobal<WCHAR> text_lock(text_global); |
+ base::win::ScopedHGlobal<WCHAR*> text_lock(text_global); |
if (!text_lock.get()) { |
LOG(WARNING) << "Couldn't lock clipboard data: " << GetLastError(); |
return; |