| Index: chrome/test/webdriver/webdriver_test_util.cc
|
| diff --git a/chrome/test/webdriver/webdriver_test_util.cc b/chrome/test/webdriver/webdriver_test_util.cc
|
| index 98c8827e4ed0dd3a51bb23272a72d049a6c1fd59..0700adcdadb9c2c7144c9084b5b616af56f4f1af 100644
|
| --- a/chrome/test/webdriver/webdriver_test_util.cc
|
| +++ b/chrome/test/webdriver/webdriver_test_util.cc
|
| @@ -41,15 +41,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;
|
|
|