Title: [159708] trunk/Tools
- Revision
- 159708
- Author
- [email protected]
- Date
- 2013-11-22 12:57:50 -0800 (Fri, 22 Nov 2013)
Log Message
Fix Mountain Lion bug.
* MiniBrowser/mac/AppDelegate.m:
(-[BrowserAppDelegate openDocument:]):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (159707 => 159708)
--- trunk/Tools/ChangeLog 2013-11-22 20:38:42 UTC (rev 159707)
+++ trunk/Tools/ChangeLog 2013-11-22 20:57:50 UTC (rev 159708)
@@ -1,5 +1,12 @@
2013-11-22 Anders Carlsson <[email protected]>
+ Fix Mountain Lion bug.
+
+ * MiniBrowser/mac/AppDelegate.m:
+ (-[BrowserAppDelegate openDocument:]):
+
+2013-11-22 Anders Carlsson <[email protected]>
+
MiniBrowser should use the blocks-based NSOpenPanel API
https://bugs.webkit.org/show_bug.cgi?id=124786
Modified: trunk/Tools/MiniBrowser/mac/AppDelegate.m (159707 => 159708)
--- trunk/Tools/MiniBrowser/mac/AppDelegate.m 2013-11-22 20:38:42 UTC (rev 159707)
+++ trunk/Tools/MiniBrowser/mac/AppDelegate.m 2013-11-22 20:57:50 UTC (rev 159708)
@@ -220,7 +220,7 @@
if (browserWindowController) {
NSOpenPanel *openPanel = [[NSOpenPanel openPanel] retain];
[openPanel beginSheetModalForWindow:browserWindowController.window completionHandler:^(NSInteger result) {
- if (result != NSModalResponseOK)
+ if (result != NSOKButton)
return;
NSURL *url = ""
@@ -231,7 +231,7 @@
NSOpenPanel *openPanel = [NSOpenPanel openPanel];
[openPanel beginWithCompletionHandler:^(NSInteger result) {
- if (result != NSModalResponseOK)
+ if (result != NSOKButton)
return;
// FIXME: add a way to open in WK1 also.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes