summaryrefslogtreecommitdiffstats
path: root/chrome/common/mach_message_source_mac.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-17 04:09:06 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-17 04:09:06 +0000
commitdf0ca6c858762b101bf424ff6c0522409fa195fc (patch)
treeefa188eee6972e2c0de358f2d19a2348ce6dcb06 /chrome/common/mach_message_source_mac.cc
parent73de26a684944782a92f8e6840e1b290c9a424cd (diff)
downloadchromium_src-df0ca6c858762b101bf424ff6c0522409fa195fc.zip
chromium_src-df0ca6c858762b101bf424ff6c0522409fa195fc.tar.gz
chromium_src-df0ca6c858762b101bf424ff6c0522409fa195fc.tar.bz2
Move scoped_cftyperef from base to base/mac, use the new namespace, and name it
properly (scoped_cftyperef -> ScopedCFTypeRef). TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3855001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62887 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/mach_message_source_mac.cc')
-rw-r--r--chrome/common/mach_message_source_mac.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/common/mach_message_source_mac.cc b/chrome/common/mach_message_source_mac.cc
index 1249d8a..76c899e 100644
--- a/chrome/common/mach_message_source_mac.cc
+++ b/chrome/common/mach_message_source_mac.cc
@@ -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 @@ MachMessageSource::MachMessageSource(mach_port_t port,
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,