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

Unified Diff: remoting/host/input_injector_win.cc

Issue 1763983002: Change scoped_ptr to a type alias for std::unique_ptr on OS_WIN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bluetooth Created 4 years, 9 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/printing_info_win.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/input_injector_win.cc
diff --git a/remoting/host/input_injector_win.cc b/remoting/host/input_injector_win.cc
index 396b46b7cc690315710afd2934b8dc93c6e50a09..d1fefa9b0e4ef43dcc0b2d687346f71d061f9e1f 100644
--- a/remoting/host/input_injector_win.cc
+++ b/remoting/host/input_injector_win.cc
@@ -362,7 +362,7 @@ scoped_ptr<InputInjector> InputInjector::Create(
// static
bool InputInjector::SupportsTouchEvents() {
- return TouchInjectorWinDelegate::Create();
+ return TouchInjectorWinDelegate::Create() != nullptr;
}
} // namespace remoting
« no previous file with comments | « printing/backend/printing_info_win.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698