Title: [149212] trunk/Source/WebKit2
Revision
149212
Author
a...@apple.com
Date
2013-04-26 14:54:22 -0700 (Fri, 26 Apr 2013)

Log Message

        [WK2] WKContextClient doesn't need to be versioned yet
        https://bugs.webkit.org/show_bug.cgi?id=115279

        Reviewed by Anders Carlsson.

        * Shared/APIClientTraits.cpp:
        * Shared/APIClientTraits.h:
        * UIProcess/API/C/WKContext.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (149211 => 149212)


--- trunk/Source/WebKit2/ChangeLog	2013-04-26 21:39:27 UTC (rev 149211)
+++ trunk/Source/WebKit2/ChangeLog	2013-04-26 21:54:22 UTC (rev 149212)
@@ -1,3 +1,14 @@
+2013-04-26  Alexey Proskuryakov  <a...@apple.com>
+
+        [WK2] WKContextClient doesn't need to be versioned yet
+        https://bugs.webkit.org/show_bug.cgi?id=115279
+
+        Reviewed by Anders Carlsson.
+
+        * Shared/APIClientTraits.cpp:
+        * Shared/APIClientTraits.h:
+        * UIProcess/API/C/WKContext.h:
+
 2013-04-26  Anders Carlsson  <ander...@apple.com>
 
         Downloads need to be converted from the NSURLConnection, not canceled and restarted, when using the NetworkProcess

Modified: trunk/Source/WebKit2/Shared/APIClientTraits.cpp (149211 => 149212)


--- trunk/Source/WebKit2/Shared/APIClientTraits.cpp	2013-04-26 21:39:27 UTC (rev 149211)
+++ trunk/Source/WebKit2/Shared/APIClientTraits.cpp	2013-04-26 21:54:22 UTC (rev 149212)
@@ -91,7 +91,6 @@
 };
 
 const size_t APIClientTraits<WKContextClient>::interfaceSizesByVersion[] = {
-    offsetof(WKContextClient, plugInInformationBecameAvailable),
     sizeof(WKContextClient)
 };
 

Modified: trunk/Source/WebKit2/Shared/APIClientTraits.h (149211 => 149212)


--- trunk/Source/WebKit2/Shared/APIClientTraits.h	2013-04-26 21:39:27 UTC (rev 149211)
+++ trunk/Source/WebKit2/Shared/APIClientTraits.h	2013-04-26 21:54:22 UTC (rev 149212)
@@ -80,7 +80,7 @@
 };
 
 template<> struct APIClientTraits<WKContextClient> {
-    static const size_t interfaceSizesByVersion[2];
+    static const size_t interfaceSizesByVersion[1];
 };
 
 template<> struct APIClientTraits<WKContextInjectedBundleClient> {

Modified: trunk/Source/WebKit2/UIProcess/API/C/WKContext.h (149211 => 149212)


--- trunk/Source/WebKit2/UIProcess/API/C/WKContext.h	2013-04-26 21:39:27 UTC (rev 149211)
+++ trunk/Source/WebKit2/UIProcess/API/C/WKContext.h	2013-04-26 21:54:22 UTC (rev 149212)
@@ -51,13 +51,11 @@
     // Version 0.
     WKContextPlugInAutoStartOriginHashesChangedCallback                 plugInAutoStartOriginHashesChanged;
     WKContextNetworkProcessDidCrashCallback                             networkProcessDidCrash;
-
-    // Version 1.
-    WKContextPlugInInformationBecameAvailableCallback                         plugInInformationBecameAvailable;
+    WKContextPlugInInformationBecameAvailableCallback                   plugInInformationBecameAvailable;
 };
 typedef struct WKContextClient WKContextClient;
 
-enum { kWKContextClientCurrentVersion = 1 };
+enum { kWKContextClientCurrentVersion = 0 };
 
 // Injected Bundle Client
 typedef void (*WKContextDidReceiveMessageFromInjectedBundleCallback)(WKContextRef page, WKStringRef messageName, WKTypeRef messageBody, const void *clientInfo);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to