Changeset 136759 in webkit


Ignore:
Timestamp:
Dec 5, 2012, 1:48:07 PM (12 years ago)
Author:
Lucas Forschler
Message:

Merged r136598. <rdar://problem/12804399>

Location:
tags/Safari-537.20.3/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tags/Safari-537.20.3/Source/WebKit2/ChangeLog

    r136538 r136759  
     12012-12-05  Lucas Forschler  <lforschler@apple.com>
     2
     3        Merge r136598
     4
     5    2012-12-04  Andy Estes  <aestes@apple.com>
     6
     7            [WebKit2] WKWebProcessPlugInBrowserContextControllers should be treated as type WKBrowsingContextControllerType for encoding purposes
     8            https://bugs.webkit.org/show_bug.cgi?id=104063
     9
     10            Reviewed by Sam Weinig.
     11
     12            Objective-C message graphs can include browsing context controller
     13            objects, which are decoded as WKWebProcessPlugInBrowserContextControllers
     14            in the web process plug-in and as WKBrowsingContextControllers in the UI
     15            process. Ensure we correctly encode WKWebProcessPlugInBrowserContextControllers
     16            by treating them as type WKBrowsingContextControllerType.
     17
     18            * Shared/mac/ObjCObjectGraphCoders.mm:
     19            (WebKit::typeFromObject):
     20
    1212012-12-04  Lucas Forschler  <lforschler@apple.com>
    222
  • tags/Safari-537.20.3/Source/WebKit2/Shared/mac/ObjCObjectGraphCoders.mm

    r136141 r136759  
    7676        return NSDataType;
    7777#if defined(__LP64__) && defined(__clang__)
    78     if ([object isKindOfClass:[WKBrowsingContextController class]])
     78    if ([object isKindOfClass:[WKBrowsingContextController class]] || [object isKindOfClass:[WKWebProcessPlugInBrowserContextController class]])
    7979        return WKBrowsingContextControllerType;
    8080#endif
Note: See TracChangeset for help on using the changeset viewer.