Index: chrome/test/chromedriver/test_util.cc |
diff --git a/chrome/test/chromedriver/test_util.cc b/chrome/test/chromedriver/test_util.cc |
index 4d2d3c662a823161bffc3641aa86aabb301a29e4..14f1c74986da6d0740512b54fc4b6b878b790ead 100644 |
--- a/chrome/test/chromedriver/test_util.cc |
+++ b/chrome/test/chromedriver/test_util.cc |
@@ -39,15 +39,15 @@ bool SwitchKeyboardLayout(const std::string& input_locale_identifier) { |
#if defined(OS_MACOSX) |
bool SwitchKeyboardLayout(const std::string& input_source_id) { |
- base::mac::ScopedCFTypeRef<CFMutableDictionaryRef> filter_dict( |
+ base::ScopedCFTypeRef<CFMutableDictionaryRef> filter_dict( |
CFDictionaryCreateMutable(kCFAllocatorDefault, |
1, |
&kCFTypeDictionaryKeyCallBacks, |
&kCFTypeDictionaryValueCallBacks)); |
- base::mac::ScopedCFTypeRef<CFStringRef> id_ref(CFStringCreateWithCString( |
+ base::ScopedCFTypeRef<CFStringRef> id_ref(CFStringCreateWithCString( |
kCFAllocatorDefault, input_source_id.c_str(), kCFStringEncodingUTF8)); |
CFDictionaryAddValue(filter_dict, kTISPropertyInputSourceID, id_ref); |
- base::mac::ScopedCFTypeRef<CFArrayRef> sources( |
+ base::ScopedCFTypeRef<CFArrayRef> sources( |
TISCreateInputSourceList(filter_dict, true)); |
if (CFArrayGetCount(sources) != 1) |
return false; |