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

Unified Diff: chrome/browser/ui/libgtkui/gtk_util.cc

Issue 2707313002: Gtk: Change NULL to nullptr (Closed)
Patch Set: Created 3 years, 10 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 | « chrome/browser/ui/libgtkui/gtk_util.h ('k') | chrome/browser/ui/libgtkui/menu_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/libgtkui/gtk_util.cc
diff --git a/chrome/browser/ui/libgtkui/gtk_util.cc b/chrome/browser/ui/libgtkui/gtk_util.cc
index a17fd4ba0a0da527762f12780751685e8203ca34..9463d533c50e19d1713d63b5152226d48638b88e 100644
--- a/chrome/browser/ui/libgtkui/gtk_util.cc
+++ b/chrome/browser/ui/libgtkui/gtk_util.cc
@@ -40,7 +40,7 @@ void CommonInitFromCommandLine(const base::CommandLine& command_line,
// here.
argv[i] = strdup(args[i].c_str());
}
- argv[argc] = NULL;
+ argv[argc] = nullptr;
char** argv_pointer = argv.get();
{
@@ -203,7 +203,7 @@ aura::Window* GetAuraTransientParent(GtkWidget* dialog) {
}
void ClearAuraTransientParent(GtkWidget* dialog) {
- g_object_set_data(G_OBJECT(dialog), kAuraTransientParent, NULL);
+ g_object_set_data(G_OBJECT(dialog), kAuraTransientParent, nullptr);
}
#if GTK_MAJOR_VERSION > 2
« no previous file with comments | « chrome/browser/ui/libgtkui/gtk_util.h ('k') | chrome/browser/ui/libgtkui/menu_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698