Changeset 232727 in webkit


Ignore:
Timestamp:
Jun 11, 2018 12:55:42 PM (6 years ago)
Author:
beidson@apple.com
Message:

Followup to [Cocoa] Remove all uses of NSAutoreleasePool as part of preparation for ARC
https://bugs.webkit.org/show_bug.cgi?id=186436

Patch by Darin Adler
Reviewed by Brady Eidson.

  • TestWebKitAPI/Tests/mac/StopLoadingFromDidFinishLoading.mm:

(TestWebKitAPI::TEST):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r232725 r232727  
     12018-06-11  Brady Eidson  <beidson@apple.com>
     2
     3        Followup to [Cocoa] Remove all uses of NSAutoreleasePool as part of preparation for ARC
     4        https://bugs.webkit.org/show_bug.cgi?id=186436
     5
     6        Patch by Darin Adler
     7        Reviewed by Brady Eidson.
     8
     9        * TestWebKitAPI/Tests/mac/StopLoadingFromDidFinishLoading.mm:
     10        (TestWebKitAPI::TEST):
     11
    1122018-06-11  Mark Lam  <mark.lam@apple.com>
    213
  • trunk/Tools/TestWebKitAPI/Tests/mac/StopLoadingFromDidFinishLoading.mm

    r232660 r232727  
    5050    @autoreleasepool {
    5151        auto webView = adoptNS([[WebView alloc] init]);
    52         webView.get().resourceLoadDelegate = adoptNS([[StopLoadingFromDidFinishLoadingDelegate alloc] init]).get();
     52        auto resourceLoadDelegate = adoptNS([[StopLoadingFromDidFinishLoadingDelegate alloc] init]);
     53        webView.get().resourceLoadDelegate = resourceLoadDelegate.get();
    5354        [webView.get().mainFrame loadHTMLString:@"Hello, World!" baseURL:[NSURL URLWithString:@""]];
    5455        Util::run(&finished);
Note: See TracChangeset for help on using the changeset viewer.