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

Unified Diff: remoting/host/continue_window_linux.cc

Issue 810133003: replace NULL->nullptr in src/remoting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « remoting/host/config_file_watcher.cc ('k') | remoting/host/continue_window_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « remoting/host/config_file_watcher.cc ('k') | remoting/host/continue_window_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698