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

Unified Diff: remoting/host/linux/x_server_clipboard_unittest.cc

Issue 810133003: replace NULL->nullptr in src/remoting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « remoting/host/linux/x_server_clipboard.cc ('k') | remoting/host/local_input_monitor_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/linux/x_server_clipboard_unittest.cc
diff --git a/remoting/host/linux/x_server_clipboard_unittest.cc b/remoting/host/linux/x_server_clipboard_unittest.cc
index ea8ae5a8fb66fec9350a435904943fa3c1409c32..f7c090b9c362c3da9fedc3f528132453220ca322 100644
--- a/remoting/host/linux/x_server_clipboard_unittest.cc
+++ b/remoting/host/linux/x_server_clipboard_unittest.cc
@@ -20,7 +20,7 @@ namespace {
class ClipboardTestClient {
public:
- ClipboardTestClient() : display_(NULL) {}
+ ClipboardTestClient() : display_(nullptr) {}
~ClipboardTestClient() {}
void Init(Display* display) {
@@ -71,10 +71,10 @@ class XServerClipboardTest : public testing::Test {
void SetUp() override {
// XSynchronize() ensures that PumpXEvents() fully processes all X server
// requests and responses before returning to the caller.
- Display* display1 = XOpenDisplay(NULL);
+ Display* display1 = XOpenDisplay(nullptr);
XSynchronize(display1, True);
client1_.Init(display1);
- Display* display2 = XOpenDisplay(NULL);
+ Display* display2 = XOpenDisplay(nullptr);
XSynchronize(display2, True);
client2_.Init(display2);
}
« no previous file with comments | « remoting/host/linux/x_server_clipboard.cc ('k') | remoting/host/local_input_monitor_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698