Title: [149230] trunk/Source/WebKit2
Revision
149230
Author
commit-qu...@webkit.org
Date
2013-04-26 18:31:16 -0700 (Fri, 26 Apr 2013)

Log Message

[WK2][EFL] Build break after r149212
https://bugs.webkit.org/show_bug.cgi?id=115294

Patch by Yael Aharon <yael.aha...@intel.com> on 2013-04-26
Reviewed by Simon Fraser.
r144672 bumped up the revision of WKContextClient API, and introduced a version array
APIClientTraits<WKContextClient>::interfaceSizesByVersion .
In r149212, the version was bumped back down and the version array was emptied but not removed.
This causes a warning "array subscript is below array bounds", and in EFL the warning is
treated as error.

* Shared/APIClientTraits.cpp:
(WebKit):
* Shared/APIClientTraits.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (149229 => 149230)


--- trunk/Source/WebKit2/ChangeLog	2013-04-27 00:51:26 UTC (rev 149229)
+++ trunk/Source/WebKit2/ChangeLog	2013-04-27 01:31:16 UTC (rev 149230)
@@ -1,3 +1,19 @@
+2013-04-26  Yael Aharon  <yael.aha...@intel.com>
+
+        [WK2][EFL] Build break after r149212
+        https://bugs.webkit.org/show_bug.cgi?id=115294
+
+        Reviewed by Simon Fraser.
+        r144672 bumped up the revision of WKContextClient API, and introduced a version array
+        APIClientTraits<WKContextClient>::interfaceSizesByVersion .
+        In r149212, the version was bumped back down and the version array was emptied but not removed.
+        This causes a warning "array subscript is below array bounds", and in EFL the warning is
+        treated as error.
+
+        * Shared/APIClientTraits.cpp:
+        (WebKit):
+        * Shared/APIClientTraits.h:
+
 2013-04-26  Martin Robinson  <mrobin...@igalia.com>
 
         [GTK] Add methods to add a user style sheet to the WebKit2 GTK+ API

Modified: trunk/Source/WebKit2/Shared/APIClientTraits.cpp (149229 => 149230)


--- trunk/Source/WebKit2/Shared/APIClientTraits.cpp	2013-04-27 00:51:26 UTC (rev 149229)
+++ trunk/Source/WebKit2/Shared/APIClientTraits.cpp	2013-04-27 01:31:16 UTC (rev 149230)
@@ -90,10 +90,6 @@
     sizeof(WKBundlePageUIClient)
 };
 
-const size_t APIClientTraits<WKContextClient>::interfaceSizesByVersion[] = {
-    sizeof(WKContextClient)
-};
-
 const size_t APIClientTraits<WKContextInjectedBundleClient>::interfaceSizesByVersion[] = {
     offsetof(WKContextInjectedBundleClient, getInjectedBundleInitializationUserData),
     sizeof(WKContextInjectedBundleClient)

Modified: trunk/Source/WebKit2/Shared/APIClientTraits.h (149229 => 149230)


--- trunk/Source/WebKit2/Shared/APIClientTraits.h	2013-04-27 00:51:26 UTC (rev 149229)
+++ trunk/Source/WebKit2/Shared/APIClientTraits.h	2013-04-27 01:31:16 UTC (rev 149230)
@@ -79,10 +79,6 @@
     static const size_t interfaceSizesByVersion[2];
 };
 
-template<> struct APIClientTraits<WKContextClient> {
-    static const size_t interfaceSizesByVersion[1];
-};
-
 template<> struct APIClientTraits<WKContextInjectedBundleClient> {
     static const size_t interfaceSizesByVersion[2];
 };
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to