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

Unified Diff: chrome/common/mach_message_source_mac.cc

Issue 3855001: Move scoped_cftyperef from base to base/mac, use the new namespace, and name ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 2 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 | « chrome/common/mach_message_source_mac.h ('k') | chrome/common/sandbox_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/mach_message_source_mac.cc
===================================================================
--- chrome/common/mach_message_source_mac.cc (revision 62861)
+++ chrome/common/mach_message_source_mac.cc (working copy)
@@ -5,6 +5,7 @@
#include "chrome/common/mach_message_source_mac.h"
#include "base/logging.h"
+#include "base/mac/scoped_cftyperef.h"
MachMessageSource::MachMessageSource(mach_port_t port,
MachPortListener* msg_listener,
@@ -16,7 +17,7 @@
CFMachPortContext port_context = {0};
port_context.info = msg_listener;
- scoped_cftyperef<CFMachPortRef> cf_mach_port_ref(
+ base::mac::ScopedCFTypeRef<CFMachPortRef> cf_mach_port_ref(
CFMachPortCreateWithPort(kCFAllocatorDefault,
port,
MachMessageSource::OnReceiveMachMessage,
« no previous file with comments | « chrome/common/mach_message_source_mac.h ('k') | chrome/common/sandbox_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698