| Index: remoting/host/continue_window_linux.cc
|
| diff --git a/remoting/host/continue_window_linux.cc b/remoting/host/continue_window_linux.cc
|
| index 668e392a7bdd333939327cbfca8055d022fe7f89..9f31d90fb502992af118669a096944a2706f54f2 100644
|
| --- a/remoting/host/continue_window_linux.cc
|
| +++ b/remoting/host/continue_window_linux.cc
|
| @@ -35,13 +35,13 @@ class ContinueWindowGtk : public ContinueWindow {
|
| };
|
|
|
| ContinueWindowGtk::ContinueWindowGtk()
|
| - : continue_window_(NULL) {
|
| + : continue_window_(nullptr) {
|
| }
|
|
|
| ContinueWindowGtk::~ContinueWindowGtk() {
|
| if (continue_window_) {
|
| gtk_widget_destroy(continue_window_);
|
| - continue_window_ = NULL;
|
| + continue_window_ = nullptr;
|
| }
|
| }
|
|
|
| @@ -59,7 +59,7 @@ void ContinueWindowGtk::HideUi() {
|
|
|
| if (continue_window_) {
|
| gtk_widget_destroy(continue_window_);
|
| - continue_window_ = NULL;
|
| + continue_window_ = nullptr;
|
| }
|
| }
|
|
|
| @@ -69,13 +69,13 @@ void ContinueWindowGtk::CreateWindow() {
|
|
|
| continue_window_ = gtk_dialog_new_with_buttons(
|
| l10n_util::GetStringUTF8(IDS_PRODUCT_NAME).c_str(),
|
| - NULL,
|
| + nullptr,
|
| static_cast<GtkDialogFlags>(GTK_DIALOG_MODAL | GTK_DIALOG_NO_SEPARATOR),
|
| l10n_util::GetStringUTF8(IDS_STOP_SHARING_BUTTON).c_str(),
|
| GTK_RESPONSE_CANCEL,
|
| l10n_util::GetStringUTF8(IDS_CONTINUE_BUTTON).c_str(),
|
| GTK_RESPONSE_OK,
|
| - NULL);
|
| + nullptr);
|
|
|
| gtk_dialog_set_default_response(GTK_DIALOG(continue_window_),
|
| GTK_RESPONSE_OK);
|
|
|