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

Unified Diff: chrome/browser/ui/libgtkui/unity_service.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
Index: chrome/browser/ui/libgtkui/unity_service.cc
diff --git a/chrome/browser/ui/libgtkui/unity_service.cc b/chrome/browser/ui/libgtkui/unity_service.cc
index 78abe9b14eb14f9841313e77aa717bb20b5ab4e4..9903568bbd7bbdbb2682ca554005a15c5835d7b0 100644
--- a/chrome/browser/ui/libgtkui/unity_service.cc
+++ b/chrome/browser/ui/libgtkui/unity_service.cc
@@ -38,18 +38,18 @@ namespace {
bool attempted_load = false;
// Unity has a singleton object that we can ask whether the unity is running.
-UnityInspector* inspector = NULL;
+UnityInspector* inspector = nullptr;
// A link to the desktop entry in the panel.
-UnityLauncherEntry* chrome_entry = NULL;
+UnityLauncherEntry* chrome_entry = nullptr;
// Retrieved functions from libunity.
-unity_inspector_get_unity_running_func get_unity_running = NULL;
-unity_launcher_entry_set_count_func entry_set_count = NULL;
-unity_launcher_entry_set_count_visible_func entry_set_count_visible = NULL;
-unity_launcher_entry_set_progress_func entry_set_progress = NULL;
+unity_inspector_get_unity_running_func get_unity_running = nullptr;
+unity_launcher_entry_set_count_func entry_set_count = nullptr;
+unity_launcher_entry_set_count_visible_func entry_set_count_visible = nullptr;
+unity_launcher_entry_set_progress_func entry_set_progress = nullptr;
unity_launcher_entry_set_progress_visible_func entry_set_progress_visible =
- NULL;
+ nullptr;
void EnsureMethodsLoaded() {
using base::nix::GetDesktopEnvironment;
« no previous file with comments | « chrome/browser/ui/libgtkui/skia_utils_gtk.cc ('k') | chrome/browser/ui/libgtkui/x11_input_method_context_impl_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698