Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / remoting / host / curtain_mode_linux.cc
index 5e15180..696af4e 100644 (file)
@@ -18,7 +18,7 @@ class CurtainModeLinux : public CurtainMode {
   CurtainModeLinux();
 
   // Overriden from CurtainMode.
-  virtual bool Activate() OVERRIDE;
+  bool Activate() override;
 
  private:
   // Returns true if the host is running under an Xvfb session.
@@ -103,7 +103,7 @@ scoped_ptr<CurtainMode> CurtainMode::Create(
     scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner,
     scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
     base::WeakPtr<ClientSessionControl> client_session_control) {
-  return scoped_ptr<CurtainMode>(new CurtainModeLinux());
+  return make_scoped_ptr(new CurtainModeLinux());
 }
 
 }  // namespace remoting