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

Unified Diff: chrome/browser/ui/libgtkui/chrome_gtk_menu_subclasses.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/chrome_gtk_frame.cc ('k') | chrome/browser/ui/libgtkui/gconf_listener.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/libgtkui/chrome_gtk_menu_subclasses.cc
diff --git a/chrome/browser/ui/libgtkui/chrome_gtk_menu_subclasses.cc b/chrome/browser/ui/libgtkui/chrome_gtk_menu_subclasses.cc
index a6705a6e7e7fe83363404aef578ba455f5f6f84b..33944bb162fd3efced5508a3efab2d963896d38f 100644
--- a/chrome/browser/ui/libgtkui/chrome_gtk_menu_subclasses.cc
+++ b/chrome/browser/ui/libgtkui/chrome_gtk_menu_subclasses.cc
@@ -13,7 +13,7 @@ static void gtk_custom_menu_class_init(GtkCustomMenuClass* klass) {
}
GtkWidget* gtk_custom_menu_new() {
- return GTK_WIDGET(g_object_new(gtk_custom_menu_get_type(), NULL));
+ return GTK_WIDGET(g_object_new(gtk_custom_menu_get_type(), nullptr));
}
G_DEFINE_TYPE(GtkCustomMenuItem, gtk_custom_menu_item, GTK_TYPE_MENU_ITEM)
@@ -25,5 +25,5 @@ static void gtk_custom_menu_item_class_init(GtkCustomMenuItemClass* klass) {
}
GtkWidget* gtk_custom_menu_item_new() {
- return GTK_WIDGET(g_object_new(gtk_custom_menu_item_get_type(), NULL));
+ return GTK_WIDGET(g_object_new(gtk_custom_menu_item_get_type(), nullptr));
}
« no previous file with comments | « chrome/browser/ui/libgtkui/chrome_gtk_frame.cc ('k') | chrome/browser/ui/libgtkui/gconf_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698