Title: [191491] trunk/Source/WebKit2
Revision
191491
Author
[email protected]
Date
2015-10-22 23:11:49 -0700 (Thu, 22 Oct 2015)

Log Message

[GTK] Fix build break since r191471
https://bugs.webkit.org/show_bug.cgi?id=150487

Patch by Joonghun Park <[email protected]> on 2015-10-22
Reviewed by Žan Doberšek.

* UIProcess/API/gtk/WebKitContextMenuClient.cpp:
* UIProcess/gtk/WebContextMenuProxyGtk.cpp:
(WebKit::WebContextMenuProxyGtk::populate):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (191490 => 191491)


--- trunk/Source/WebKit2/ChangeLog	2015-10-23 04:21:34 UTC (rev 191490)
+++ trunk/Source/WebKit2/ChangeLog	2015-10-23 06:11:49 UTC (rev 191491)
@@ -1,3 +1,14 @@
+2015-10-22  Joonghun Park  <[email protected]>
+
+        [GTK] Fix build break since r191471
+        https://bugs.webkit.org/show_bug.cgi?id=150487
+
+        Reviewed by Žan Doberšek.
+
+        * UIProcess/API/gtk/WebKitContextMenuClient.cpp:
+        * UIProcess/gtk/WebContextMenuProxyGtk.cpp:
+        (WebKit::WebContextMenuProxyGtk::populate):
+
 2015-10-22  Gyuyoung Kim  <[email protected]>
 
         [EFL] Build break since r191472 and r191473

Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitContextMenuClient.cpp (191490 => 191491)


--- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitContextMenuClient.cpp	2015-10-23 04:21:34 UTC (rev 191490)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitContextMenuClient.cpp	2015-10-23 06:11:49 UTC (rev 191491)
@@ -47,7 +47,7 @@
         Vector<WebContextMenuItemData> menuItems;
         menuItems.reserveInitialCapacity(proposedMenu.size());
         for (auto& item : proposedMenu)
-            menuItems.uncheckedAppend(*item->data());
+            menuItems.uncheckedAppend(item->data());
         webkitWebViewPopulateContextMenu(m_webView, menuItems, hitTestResultData, variant.get());
         return true;
     }

Modified: trunk/Source/WebKit2/UIProcess/gtk/WebContextMenuProxyGtk.cpp (191490 => 191491)


--- trunk/Source/WebKit2/UIProcess/gtk/WebContextMenuProxyGtk.cpp	2015-10-23 04:21:34 UTC (rev 191490)
+++ trunk/Source/WebKit2/UIProcess/gtk/WebContextMenuProxyGtk.cpp	2015-10-23 06:11:49 UTC (rev 191491)
@@ -136,7 +136,7 @@
 void WebContextMenuProxyGtk::populate(const Vector<RefPtr<WebContextMenuItem>>& items)
 {
     for (size_t i = 0; i < items.size(); i++) {
-        ContextMenuItem menuitem = items.at(i)->data()->core();
+        ContextMenuItem menuitem = items.at(i)->data().core();
         append(menuitem);
     }
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to