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

Unified Diff: chrome/browser/ui/libgtkui/gtk_event_loop.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/gconf_listener.cc ('k') | chrome/browser/ui/libgtkui/gtk_key_bindings_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/libgtkui/gtk_event_loop.cc
diff --git a/chrome/browser/ui/libgtkui/gtk_event_loop.cc b/chrome/browser/ui/libgtkui/gtk_event_loop.cc
index ccf4742f45376686994d3ded15c4221ffd52b316..1862918eba6607ab19a215cbad6405ed7e13bd94 100644
--- a/chrome/browser/ui/libgtkui/gtk_event_loop.cc
+++ b/chrome/browser/ui/libgtkui/gtk_event_loop.cc
@@ -21,12 +21,12 @@ Gtk2EventLoop* Gtk2EventLoop::GetInstance() {
}
Gtk2EventLoop::Gtk2EventLoop() {
- gdk_event_handler_set(DispatchGdkEvent, NULL, NULL);
+ gdk_event_handler_set(DispatchGdkEvent, nullptr, nullptr);
}
Gtk2EventLoop::~Gtk2EventLoop() {
- gdk_event_handler_set(reinterpret_cast<GdkEventFunc>(gtk_main_do_event), NULL,
- NULL);
+ gdk_event_handler_set(reinterpret_cast<GdkEventFunc>(gtk_main_do_event),
+ nullptr, nullptr);
}
// static
« no previous file with comments | « chrome/browser/ui/libgtkui/gconf_listener.cc ('k') | chrome/browser/ui/libgtkui/gtk_key_bindings_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698