diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-16 18:37:13 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-16 18:37:13 +0000 |
commit | 59d1aacf35db435aa3c5ec0c17a582392627e7a9 (patch) | |
tree | 525512e161de0460b6b354edc87b050e354750c6 /chrome/browser/cocoa/authorization_util.mm | |
parent | cc2c217e71a89436aa017f7927dda21d3de71c1d (diff) | |
download | chromium_src-59d1aacf35db435aa3c5ec0c17a582392627e7a9.zip chromium_src-59d1aacf35db435aa3c5ec0c17a582392627e7a9.tar.gz chromium_src-59d1aacf35db435aa3c5ec0c17a582392627e7a9.tar.bz2 |
Revert 49984 - patch from issue 2762014
TBR=thakis@chromium.org
Review URL: http://codereview.chromium.org/2835007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50000 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/authorization_util.mm')
-rw-r--r-- | chrome/browser/cocoa/authorization_util.mm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/authorization_util.mm b/chrome/browser/cocoa/authorization_util.mm index 6eb0f84..a879db2 100644 --- a/chrome/browser/cocoa/authorization_util.mm +++ b/chrome/browser/cocoa/authorization_util.mm @@ -47,8 +47,7 @@ AuthorizationRef AuthorizationCreateToRunAsRoot(CFStringRef prompt) { // The OS will append " Type an administrator's name and password to allow // <CFBundleDisplayName> to make changes." -//FIXME - NSString* prompt_ns = (NSString*)prompt; + NSString* prompt_ns = reinterpret_cast<const NSString*>(prompt); const char* prompt_c = [prompt_ns UTF8String]; size_t prompt_length = prompt_c ? strlen(prompt_c) : 0; |