From 3c2dc955e2d6bbcc20fd18512c09cc916e796b0a Mon Sep 17 00:00:00 2001 From: "dcheng@chromium.org" Date: Fri, 14 Jun 2013 00:35:13 +0000 Subject: Rewrite scoped_ptr(NULL) to use the default ctor in remoting/. This is the result of running the rewrite_scoped_ptr_ctor_null tool across all files built on Linux in the remoting/ directory. BUG=173286 Review URL: https://chromiumcodereview.appspot.com/16964002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206247 0039d316-1c4b-4281-b951-d872f2087c98 --- remoting/host/client_session.cc | 4 ++-- remoting/host/input_injector_linux.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'remoting/host') diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc index cf282dd..2ce1400 100644 --- a/remoting/host/client_session.cc +++ b/remoting/host/client_session.cc @@ -417,7 +417,7 @@ scoped_ptr ClientSession::CreateVideoEncoder( } NOTIMPLEMENTED(); - return scoped_ptr(NULL); + return scoped_ptr(); } // static @@ -434,7 +434,7 @@ scoped_ptr ClientSession::CreateAudioEncoder( } NOTIMPLEMENTED(); - return scoped_ptr(NULL); + return scoped_ptr(); } } // namespace remoting diff --git a/remoting/host/input_injector_linux.cc b/remoting/host/input_injector_linux.cc index bafbb76..45221d1 100644 --- a/remoting/host/input_injector_linux.cc +++ b/remoting/host/input_injector_linux.cc @@ -500,7 +500,7 @@ scoped_ptr InputInjector::Create( scoped_ptr injector( new InputInjectorLinux(main_task_runner)); if (!injector->Init()) - return scoped_ptr(NULL); + return scoped_ptr(); return injector.PassAs(); } -- cgit v1.1