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

Unified Diff: chrome/browser/cocoa/authorization_util.mm

Issue 2835007: Revert 49984 - patch from issue 2762014 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 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
Index: chrome/browser/cocoa/authorization_util.mm
===================================================================
--- chrome/browser/cocoa/authorization_util.mm (revision 49999)
+++ chrome/browser/cocoa/authorization_util.mm (working copy)
@@ -47,8 +47,7 @@
// 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;
« no previous file with comments | « chrome/browser/chrome_browser_application_mac.mm ('k') | chrome/browser/renderer_host/render_widget_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698