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

Unified Diff: webrtc/examples/peerconnection/client/main.cc

Issue 2685783014: Replace NULL with nullptr in all C++ files. (Closed)
Patch Set: Fixing android. 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: webrtc/examples/peerconnection/client/main.cc
diff --git a/webrtc/examples/peerconnection/client/main.cc b/webrtc/examples/peerconnection/client/main.cc
index 413069d5e90c35fc3aaa5b42343efc8f4b46a937..a65cbf78788a42be854b06cd072ffd8a78262de2 100644
--- a/webrtc/examples/peerconnection/client/main.cc
+++ b/webrtc/examples/peerconnection/client/main.cc
@@ -30,7 +30,7 @@ int PASCAL wWinMain(HINSTANCE instance, HINSTANCE prev_instance,
rtc::FlagList::SetFlagsFromCommandLine(&argc, argv, true);
if (FLAG_help) {
- rtc::FlagList::Print(NULL, false);
+ rtc::FlagList::Print(nullptr, false);
return 0;
}
@@ -55,7 +55,7 @@ int PASCAL wWinMain(HINSTANCE instance, HINSTANCE prev_instance,
// Main loop.
MSG msg;
BOOL gm;
- while ((gm = ::GetMessage(&msg, NULL, 0, 0)) != 0 && gm != -1) {
+ while ((gm = ::GetMessage(&msg, nullptr, 0, 0)) != 0 && gm != -1) {
if (!wnd.PreTranslateMessage(&msg)) {
::TranslateMessage(&msg);
::DispatchMessage(&msg);
@@ -64,7 +64,7 @@ int PASCAL wWinMain(HINSTANCE instance, HINSTANCE prev_instance,
if (conductor->connection_active() || client.is_connected()) {
while ((conductor->connection_active() || client.is_connected()) &&
- (gm = ::GetMessage(&msg, NULL, 0, 0)) != 0 && gm != -1) {
+ (gm = ::GetMessage(&msg, nullptr, 0, 0)) != 0 && gm != -1) {
if (!wnd.PreTranslateMessage(&msg)) {
::TranslateMessage(&msg);
::DispatchMessage(&msg);

Powered by Google App Engine
This is Rietveld 408576698