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

Unified Diff: extensions/browser/api/cast_channel/cast_channel_api.h

Issue 843453002: Replace NULL with nullptr. (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
Index: extensions/browser/api/cast_channel/cast_channel_api.h
diff --git a/extensions/browser/api/cast_channel/cast_channel_api.h b/extensions/browser/api/cast_channel/cast_channel_api.h
index c3438119750fb9a7842402e057d56961713eb242..e3fc6c5de2ad2235a4b1f8c7163da55fde759e84 100644
--- a/extensions/browser/api/cast_channel/cast_channel_api.h
+++ b/extensions/browser/api/cast_channel/cast_channel_api.h
@@ -59,7 +59,7 @@ class CastChannelAPI : public BrowserContextKeyedAPI {
void SetSocketForTest(scoped_ptr<cast_channel::CastSocket> socket_for_test);
// Returns a test CastSocket instance, if it is defined.
- // Otherwise returns a scoped_ptr with a NULL ptr value.
+ // Otherwise returns a scoped_ptr with a nullptr value.
scoped_ptr<cast_channel::CastSocket> GetSocketForTest();
// Returns the API browser context.
@@ -166,7 +166,7 @@ class CastChannelOpenFunction : public CastChannelAsyncApiFunction {
cast_channel::ConnectInfo* connect_info);
// Validates that |connect_info| represents a valid IP end point and returns a
- // new IPEndPoint if so. Otherwise returns NULL.
+ // new IPEndPoint if so. Otherwise returns nullptr.
static net::IPEndPoint* ParseConnectInfo(
const cast_channel::ConnectInfo& connect_info);

Powered by Google App Engine
This is Rietveld 408576698