Fix build warning because of missing super_class initializer
https://bugs.webkit.org/show_bug.cgi?id=199825

Patch by Frederic Wang <fwang@igalia.com> on 2019-07-16
Reviewed by Jonathan Bedard.

* UIProcess/ios/WKContentView.mm:
(keyCommandsPlaceholderHackForEvernote):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@247491 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebKit/ChangeLog b/Source/WebKit/ChangeLog
index 830b6dc..c13c890 100644
--- a/Source/WebKit/ChangeLog
+++ b/Source/WebKit/ChangeLog
@@ -1,3 +1,13 @@
+2019-07-16  Frederic Wang  <fwang@igalia.com>
+
+        Fix build warning because of missing super_class initializer
+        https://bugs.webkit.org/show_bug.cgi?id=199825
+
+        Reviewed by Jonathan Bedard.
+
+        * UIProcess/ios/WKContentView.mm:
+        (keyCommandsPlaceholderHackForEvernote):
+
 2019-07-16  Tim Horton  <timothy_horton@apple.com>
 
         NSTextFinder holes don't scroll with the page
diff --git a/Source/WebKit/UIProcess/ios/WKContentView.mm b/Source/WebKit/UIProcess/ios/WKContentView.mm
index 26ff947..84f8547 100644
--- a/Source/WebKit/UIProcess/ios/WKContentView.mm
+++ b/Source/WebKit/UIProcess/ios/WKContentView.mm
@@ -149,10 +149,7 @@
 // as soon as reasonably possible. See <rdar://problem/51759247>.
 static NSArray *keyCommandsPlaceholderHackForEvernote(id self, SEL _cmd)
 {
-    struct objc_super super { 0 };
-    super.receiver = self;
-    super.super_class = class_getSuperclass(object_getClass(self));
-
+    struct objc_super super = { self, class_getSuperclass(object_getClass(self)) };
     using SuperKeyCommandsFunction = NSArray *(*)(struct objc_super*, SEL);
     return reinterpret_cast<SuperKeyCommandsFunction>(&objc_msgSendSuper)(&super, @selector(keyCommands));
 }