diff options
Diffstat (limited to 'chrome/test/webdriver/keycode_text_conversion_mac.mm')
-rw-r--r-- | chrome/test/webdriver/keycode_text_conversion_mac.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/test/webdriver/keycode_text_conversion_mac.mm b/chrome/test/webdriver/keycode_text_conversion_mac.mm index 7db3366..aa2e424 100644 --- a/chrome/test/webdriver/keycode_text_conversion_mac.mm +++ b/chrome/test/webdriver/keycode_text_conversion_mac.mm @@ -41,7 +41,7 @@ std::string ConvertKeyCodeToText(ui::KeyboardCode key_code, int modifiers) { // on UCKeyTranslate for more info. UInt32 modifier_key_state = (mac_modifiers >> 8) & 0xFF; - base::mac::ScopedCFTypeRef<TISInputSourceRef> input_source_copy( + base::ScopedCFTypeRef<TISInputSourceRef> input_source_copy( TISCopyCurrentKeyboardLayoutInputSource()); CFDataRef layout_data = static_cast<CFDataRef>(TISGetInputSourceProperty( input_source_copy, kTISPropertyUnicodeKeyLayoutData)); |