CurtainModeLinux();
// Overriden from CurtainMode.
- virtual bool Activate() OVERRIDE;
+ bool Activate() override;
private:
// Returns true if the host is running under an Xvfb session.
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