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

Unified Diff: chrome/test/webdriver/webdriver_test_util.cc

Issue 16917011: mac: Replace base::mac::ScopedCFTypeRef with base::ScopedCFTypeRef. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: with fixed off-by-1 in git-clang-format Created 7 years, 6 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/test/webdriver/webdriver_test_util.h ('k') | content/browser/download/file_metadata_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « chrome/test/webdriver/webdriver_test_util.h ('k') | content/browser/download/file_metadata_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698