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

Unified Diff: extensions/browser/api/cast_channel/logger.cc

Issue 598173003: Run clang-modernize -use-nullptr over src/extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/logger.cc
diff --git a/extensions/browser/api/cast_channel/logger.cc b/extensions/browser/api/cast_channel/logger.cc
index 823b4c320877e84c3141879d8ce81d92e9bb8dd9..24dc38f622ea0277037ecfa5c02364892d2e5a97 100644
--- a/extensions/browser/api/cast_channel/logger.cc
+++ b/extensions/browser/api/cast_channel/logger.cc
@@ -60,7 +60,7 @@ proto::ChallengeReplyErrorType ChallegeReplyErrorToProto(
scoped_ptr<char[]> Compress(const std::string& input, size_t* length) {
*length = 0;
- z_stream stream = {0};
+ z_stream stream = {nullptr};
int result = deflateInit2(&stream,
Z_DEFAULT_COMPRESSION,
Z_DEFLATED,

Powered by Google App Engine
This is Rietveld 408576698