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

Unified Diff: webkit/tools/test_shell/test_webview_delegate_mac.mm

Issue 10831108: mac: Fix a few compile errors with the 10.8 SDK (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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: webkit/tools/test_shell/test_webview_delegate_mac.mm
diff --git a/webkit/tools/test_shell/test_webview_delegate_mac.mm b/webkit/tools/test_shell/test_webview_delegate_mac.mm
index cd05eeef632a3c8dcf6b5c15f2e27a35f10294a9..4cc08578392084993dfa195f9a6208e0a9dd2774 100644
--- a/webkit/tools/test_shell/test_webview_delegate_mac.mm
+++ b/webkit/tools/test_shell/test_webview_delegate_mac.mm
@@ -269,7 +269,7 @@ void TestWebViewDelegate::ShowJavaScriptAlert(const string16& message) {
defaultButton:@"OK"
alternateButton:nil
otherButton:nil
- informativeTextWithFormat:text];
+ informativeTextWithFormat:@"%@", text];
Robert Sesek 2012/08/01 15:22:30 Why this change?
Avi (use Gerrit) 2012/08/01 15:25:29 Because the call is "format", so you need a format
Nico 2012/08/01 15:39:19 Right. The 10.8 headers probably add __attribute__
[alert runModal];
}
« webkit/tools/test_shell/test_shell_mac.mm ('K') | « webkit/tools/test_shell/test_shell_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698