Changeset 207349 in webkit


Ignore:
Timestamp:
Oct 14, 2016 11:26:40 AM (8 years ago)
Author:
Simon Fraser
Message:

Fix printing in WK2 MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=163455

Reviewed by Tim Horton.

Call the basic -_printOperationWithPrintInfo: which doens't require a frame argument.

  • MiniBrowser/mac/WK2BrowserWindowController.m:

(-[WK2BrowserWindowController printWebView:]):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r207340 r207349  
     12016-10-14  Simon Fraser  <simon.fraser@apple.com>
     2
     3        Fix printing in WK2 MiniBrowser
     4        https://bugs.webkit.org/show_bug.cgi?id=163455
     5
     6        Reviewed by Tim Horton.
     7       
     8        Call the basic -_printOperationWithPrintInfo: which doens't require a frame argument.
     9
     10        * MiniBrowser/mac/WK2BrowserWindowController.m:
     11        (-[WK2BrowserWindowController printWebView:]):
     12
    1132016-10-14  Commit Queue  <commit-queue@webkit.org>
    214
  • trunk/Tools/MiniBrowser/mac/WK2BrowserWindowController.m

    r204469 r207349  
    543543- (IBAction)printWebView:(id)sender
    544544{
    545     [[_webView _printOperationWithPrintInfo:[NSPrintInfo sharedPrintInfo] forFrame:nil] runOperationModalForWindow:self.window delegate:nil didRunSelector:nil contextInfo:nil];
     545    [[_webView _printOperationWithPrintInfo:[NSPrintInfo sharedPrintInfo]] runOperationModalForWindow:self.window delegate:nil didRunSelector:nil contextInfo:nil];
    546546}
    547547
Note: See TracChangeset for help on using the changeset viewer.