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

Unified Diff: chrome/browser/ui/libgtkui/app_indicator_icon_menu.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/app_indicator_icon.cc ('k') | chrome/browser/ui/libgtkui/chrome_gtk_frame.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/libgtkui/app_indicator_icon_menu.cc
diff --git a/chrome/browser/ui/libgtkui/app_indicator_icon_menu.cc b/chrome/browser/ui/libgtkui/app_indicator_icon_menu.cc
index 91674b98f9210297f650a8c5ce962ba38cf658d4..40399a35f8d2c70827adec732c898a5be09cf69b 100644
--- a/chrome/browser/ui/libgtkui/app_indicator_icon_menu.cc
+++ b/chrome/browser/ui/libgtkui/app_indicator_icon_menu.cc
@@ -16,7 +16,7 @@ namespace libgtkui {
AppIndicatorIconMenu::AppIndicatorIconMenu(ui::MenuModel* model)
: menu_model_(model),
click_action_replacement_menu_item_added_(false),
- gtk_menu_(NULL),
+ gtk_menu_(nullptr),
block_activation_(false) {
{
ANNOTATE_SCOPED_MEMORY_LEAK; // http://crbug.com/378770
@@ -47,7 +47,7 @@ void AppIndicatorIconMenu::UpdateClickActionReplacementMenuItem(
GList* children = gtk_container_get_children(GTK_CONTAINER(gtk_menu_));
for (GList* child = children; child; child = g_list_next(child)) {
if (g_object_get_data(G_OBJECT(child->data), "click-action-item") !=
- NULL) {
+ nullptr) {
gtk_menu_item_set_label(GTK_MENU_ITEM(child->data), label);
break;
}
« no previous file with comments | « chrome/browser/ui/libgtkui/app_indicator_icon.cc ('k') | chrome/browser/ui/libgtkui/chrome_gtk_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698