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

Unified Diff: remoting/host/clipboard_win.cc

Issue 380553002: Add a unit test that filenames aren't unintentionally converted to URLs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 5 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
« no previous file with comments | « printing/backend/print_backend_win.cc ('k') | ui/base/clipboard/clipboard_util_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « printing/backend/print_backend_win.cc ('k') | ui/base/clipboard/clipboard_util_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698