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

Unified Diff: chrome/common/mac/mock_launchd.cc

Issue 9845017: Fix a few warnings that -Wnull-conversion of a future clang will complain about. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 9 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/common/mac/mock_launchd.cc
diff --git a/chrome/common/mac/mock_launchd.cc b/chrome/common/mac/mock_launchd.cc
index 2f130b59420481c2a0640747865bd2cf8752e5c7..473e76aac129b4ee4f13fc67eaf0a0f2189067d2 100644
--- a/chrome/common/mac/mock_launchd.cc
+++ b/chrome/common/mac/mock_launchd.cc
@@ -214,7 +214,7 @@ CFDictionaryRef MockLaunchd::CopyDictionaryByCheckingIn(CFErrorRef* error) {
signature.address = address;
CFSocketRef socket =
- CFSocketCreateWithSocketSignature(NULL, &signature, NULL, NULL, NULL);
+ CFSocketCreateWithSocketSignature(NULL, &signature, 0, NULL, NULL);
local_pipe = CFSocketGetNative(socket);
EXPECT_NE(-1, local_pipe);
« no previous file with comments | « chrome/browser/mac/install_from_dmg.mm ('k') | content/browser/renderer_host/render_widget_host_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698