<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[192333] trunk/Source</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/192333">192333</a></dd>
<dt>Author</dt> <dd>andersca@apple.com</dd>
<dt>Date</dt> <dd>2015-11-11 16:29:53 -0800 (Wed, 11 Nov 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Remove more dead context menu code
https://bugs.webkit.org/show_bug.cgi?id=151163

Reviewed by Tim Horton.

Source/WebCore:

* loader/EmptyClients.h:
* page/ContextMenuClient.h:
* page/ContextMenuController.cpp:
(WebCore::ContextMenuController::populate):
* platform/ContextMenuItem.h:
* platform/mac/ContextMenuItemMac.mm:
(WebCore::ContextMenuItem::shareMenuItem): Deleted.

Source/WebKit/mac:

* WebCoreSupport/WebContextMenuClient.h:
* WebCoreSupport/WebContextMenuClient.mm:
(WebContextMenuClient::shareMenuItem): Deleted.

Source/WebKit2:

* WebProcess/WebCoreSupport/WebContextMenuClient.h:
* WebProcess/WebCoreSupport/mac/WebContextMenuClientMac.mm:
(WebKit::WebContextMenuClient::shareMenuItem): Deleted.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreloaderEmptyClientsh">trunk/Source/WebCore/loader/EmptyClients.h</a></li>
<li><a href="#trunkSourceWebCorepageContextMenuClienth">trunk/Source/WebCore/page/ContextMenuClient.h</a></li>
<li><a href="#trunkSourceWebCorepageContextMenuControllercpp">trunk/Source/WebCore/page/ContextMenuController.cpp</a></li>
<li><a href="#trunkSourceWebCoreplatformContextMenuItemh">trunk/Source/WebCore/platform/ContextMenuItem.h</a></li>
<li><a href="#trunkSourceWebCoreplatformmacContextMenuItemMacmm">trunk/Source/WebCore/platform/mac/ContextMenuItemMac.mm</a></li>
<li><a href="#trunkSourceWebKitmacChangeLog">trunk/Source/WebKit/mac/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitmacWebCoreSupportWebContextMenuClienth">trunk/Source/WebKit/mac/WebCoreSupport/WebContextMenuClient.h</a></li>
<li><a href="#trunkSourceWebKitmacWebCoreSupportWebContextMenuClientmm">trunk/Source/WebKit/mac/WebCoreSupport/WebContextMenuClient.mm</a></li>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebCoreSupportWebContextMenuClienth">trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebContextMenuClient.h</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebCoreSupportmacWebContextMenuClientMacmm">trunk/Source/WebKit2/WebProcess/WebCoreSupport/mac/WebContextMenuClientMac.mm</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (192332 => 192333)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-11-12 00:14:01 UTC (rev 192332)
+++ trunk/Source/WebCore/ChangeLog        2015-11-12 00:29:53 UTC (rev 192333)
</span><span class="lines">@@ -1,3 +1,18 @@
</span><ins>+2015-11-11  Anders Carlsson  &lt;andersca@apple.com&gt;
+
+        Remove more dead context menu code
+        https://bugs.webkit.org/show_bug.cgi?id=151163
+
+        Reviewed by Tim Horton.
+
+        * loader/EmptyClients.h:
+        * page/ContextMenuClient.h:
+        * page/ContextMenuController.cpp:
+        (WebCore::ContextMenuController::populate):
+        * platform/ContextMenuItem.h:
+        * platform/mac/ContextMenuItemMac.mm:
+        (WebCore::ContextMenuItem::shareMenuItem): Deleted.
+
</ins><span class="cx"> 2015-11-10  Jon Honeycutt  &lt;jhoneycutt@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Crash loading Blink layout test fast/parser/strip-script-attrs-on-input.html
</span></span></pre></div>
<a id="trunkSourceWebCoreloaderEmptyClientsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/loader/EmptyClients.h (192332 => 192333)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/loader/EmptyClients.h        2015-11-12 00:14:01 UTC (rev 192332)
+++ trunk/Source/WebCore/loader/EmptyClients.h        2015-11-12 00:29:53 UTC (rev 192333)
</span><span class="lines">@@ -558,8 +558,6 @@
</span><span class="cx">     virtual void speak(const String&amp;) override { }
</span><span class="cx">     virtual void stopSpeaking() override { }
</span><span class="cx"> 
</span><del>-    virtual ContextMenuItem shareMenuItem(const HitTestResult&amp;) override { return ContextMenuItem(); }
-
</del><span class="cx"> #if PLATFORM(COCOA)
</span><span class="cx">     virtual void searchWithSpotlight() override { }
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorepageContextMenuClienth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/ContextMenuClient.h (192332 => 192333)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/ContextMenuClient.h        2015-11-12 00:14:01 UTC (rev 192332)
+++ trunk/Source/WebCore/page/ContextMenuClient.h        2015-11-12 00:29:53 UTC (rev 192333)
</span><span class="lines">@@ -52,8 +52,6 @@
</span><span class="cx">         virtual void speak(const String&amp;) = 0;
</span><span class="cx">         virtual void stopSpeaking() = 0;
</span><span class="cx"> 
</span><del>-        virtual ContextMenuItem shareMenuItem(const HitTestResult&amp;) = 0;
-
</del><span class="cx"> #if PLATFORM(COCOA)
</span><span class="cx">         virtual void searchWithSpotlight() = 0;
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorepageContextMenuControllercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/ContextMenuController.cpp (192332 => 192333)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/ContextMenuController.cpp        2015-11-12 00:14:01 UTC (rev 192332)
+++ trunk/Source/WebCore/page/ContextMenuController.cpp        2015-11-12 00:29:53 UTC (rev 192333)
</span><span class="lines">@@ -807,7 +807,7 @@
</span><span class="cx">     ContextMenuItem SelectAllItem(ActionType, ContextMenuItemTagSelectAll, contextMenuItemTagSelectAll());
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-    ContextMenuItem ShareMenuItem = m_client.shareMenuItem(m_context.hitTestResult());
</del><ins>+    ContextMenuItem ShareMenuItem(SubmenuType, ContextMenuItemTagShareMenu, emptyString());
</ins><span class="cx"> 
</span><span class="cx">     Node* node = m_context.hitTestResult().innerNonSharedNode();
</span><span class="cx">     if (!node)
</span><span class="lines">@@ -895,10 +895,8 @@
</span><span class="cx"> #if PLATFORM(COCOA)
</span><span class="cx">                 appendItem(*separatorItem(), m_contextMenu.get());
</span><span class="cx"> 
</span><del>-                if (!ShareMenuItem.isNull()) {
-                    appendItem(ShareMenuItem, m_contextMenu.get());
-                    appendItem(*separatorItem(), m_contextMenu.get());
-                }
</del><ins>+                appendItem(ShareMenuItem, m_contextMenu.get());
+                appendItem(*separatorItem(), m_contextMenu.get());
</ins><span class="cx"> 
</span><span class="cx">                 ContextMenuItem SpeechMenuItem(SubmenuType, ContextMenuItemTagSpeechMenu, contextMenuItemTagSpeechMenu());
</span><span class="cx">                 createAndAppendSpeechSubMenu(SpeechMenuItem);
</span><span class="lines">@@ -932,12 +930,10 @@
</span><span class="cx">                 if (frame-&gt;page() &amp;&amp; !frame-&gt;isMainFrame())
</span><span class="cx">                     appendItem(OpenFrameItem, m_contextMenu.get());
</span><span class="cx"> 
</span><del>-                if (!ShareMenuItem.isNull()) {
-                    appendItem(*separatorItem(), m_contextMenu.get());
-                    appendItem(ShareMenuItem, m_contextMenu.get());
-                }
</del><ins>+                appendItem(*separatorItem(), m_contextMenu.get());
+                appendItem(ShareMenuItem, m_contextMenu.get());
</ins><span class="cx">             }
</span><del>-        } else if (!ShareMenuItem.isNull()) {
</del><ins>+        } else {
</ins><span class="cx">             appendItem(*separatorItem(), m_contextMenu.get());
</span><span class="cx">             appendItem(ShareMenuItem, m_contextMenu.get());
</span><span class="cx">         }
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformContextMenuItemh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/ContextMenuItem.h (192332 => 192333)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/ContextMenuItem.h        2015-11-12 00:14:01 UTC (rev 192332)
+++ trunk/Source/WebCore/platform/ContextMenuItem.h        2015-11-12 00:29:53 UTC (rev 192333)
</span><span class="lines">@@ -203,10 +203,6 @@
</span><span class="cx"> 
</span><span class="cx">         void setSubMenu(ContextMenu*);
</span><span class="cx"> 
</span><del>-#if PLATFORM(MAC)
-        WEBCORE_EXPORT static ContextMenuItem shareMenuItem(const URL&amp; absoluteLinkURL, const URL&amp; downloadableMediaURL, NSImage *, const String&amp; selectedText);
-#endif
-
</del><span class="cx"> #if USE(CROSS_PLATFORM_CONTEXT_MENUS)
</span><span class="cx">         ContextMenuItem(ContextMenuAction, const String&amp;, bool enabled, bool checked, const Vector&lt;ContextMenuItem&gt;&amp; subMenuItems);
</span><span class="cx">         explicit ContextMenuItem(const PlatformContextMenuItem&amp;);
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformmacContextMenuItemMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/mac/ContextMenuItemMac.mm (192332 => 192333)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/mac/ContextMenuItemMac.mm        2015-11-12 00:14:01 UTC (rev 192332)
+++ trunk/Source/WebCore/platform/mac/ContextMenuItemMac.mm        2015-11-12 00:29:53 UTC (rev 192333)
</span><span class="lines">@@ -196,33 +196,6 @@
</span><span class="cx">     return [m_platformDescription.get() state] == NSOnState;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-ContextMenuItem ContextMenuItem::shareMenuItem(const URL&amp; absoluteLinkURL, const URL&amp; downloadableMediaURL, NSImage *image, const String&amp; selectedText)
-{
-    if (![[NSMenuItem class] respondsToSelector:@selector(standardShareMenuItemWithItems:)])
-        return ContextMenuItem();
-
-    RetainPtr&lt;NSMutableArray&gt; items = adoptNS([[NSMutableArray alloc] init]);
-
-    if (!absoluteLinkURL.isEmpty())
-        [items addObject:(NSURL *)absoluteLinkURL];
-
-    if (!downloadableMediaURL.isEmpty())
-        [items addObject:(NSURL *)downloadableMediaURL];
-
-    if (image)
-        [items addObject:image];
-
-    if (!selectedText.isEmpty())
-        [items addObject:(NSString *)selectedText];
-
-    if (![items count])
-        return ContextMenuItem();
-
-    ContextMenuItem item([NSMenuItem standardShareMenuItemWithItems:items.get()]);
-    item.setAction(ContextMenuItemTagShareMenu);
-    return item;
-}
-
</del><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // ENABLE(CONTEXT_MENUS)
</span></span></pre></div>
<a id="trunkSourceWebKitmacChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/ChangeLog (192332 => 192333)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/ChangeLog        2015-11-12 00:14:01 UTC (rev 192332)
+++ trunk/Source/WebKit/mac/ChangeLog        2015-11-12 00:29:53 UTC (rev 192333)
</span><span class="lines">@@ -1,3 +1,14 @@
</span><ins>+2015-11-11  Anders Carlsson  &lt;andersca@apple.com&gt;
+
+        Remove more dead context menu code
+        https://bugs.webkit.org/show_bug.cgi?id=151163
+
+        Reviewed by Tim Horton.
+
+        * WebCoreSupport/WebContextMenuClient.h:
+        * WebCoreSupport/WebContextMenuClient.mm:
+        (WebContextMenuClient::shareMenuItem): Deleted.
+
</ins><span class="cx"> 2015-11-10  Tim Horton  &lt;timothy_horton@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Adopt formal protocols for CA delegates
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebCoreSupportWebContextMenuClienth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebCoreSupport/WebContextMenuClient.h (192332 => 192333)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebCoreSupport/WebContextMenuClient.h        2015-11-12 00:14:01 UTC (rev 192332)
+++ trunk/Source/WebKit/mac/WebCoreSupport/WebContextMenuClient.h        2015-11-12 00:29:53 UTC (rev 192333)
</span><span class="lines">@@ -58,7 +58,6 @@
</span><span class="cx">     virtual bool isSpeaking() override;
</span><span class="cx">     virtual void speak(const WTF::String&amp;) override;
</span><span class="cx">     virtual void stopSpeaking() override;
</span><del>-    virtual WebCore::ContextMenuItem shareMenuItem(const WebCore::HitTestResult&amp;) override;
</del><span class="cx">     virtual void searchWithSpotlight() override;
</span><span class="cx">     virtual void showContextMenu() override;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebCoreSupportWebContextMenuClientmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebCoreSupport/WebContextMenuClient.mm (192332 => 192333)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebCoreSupport/WebContextMenuClient.mm        2015-11-12 00:14:01 UTC (rev 192332)
+++ trunk/Source/WebKit/mac/WebCoreSupport/WebContextMenuClient.mm        2015-11-12 00:29:53 UTC (rev 192333)
</span><span class="lines">@@ -131,32 +131,6 @@
</span><span class="cx">     [NSApp stopSpeaking:nil];
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-ContextMenuItem WebContextMenuClient::shareMenuItem(const HitTestResult&amp; hitTestResult)
-{
-    if (![[NSMenuItem class] respondsToSelector:@selector(standardShareMenuItemWithItems:)])
-        return ContextMenuItem();
-
-    Node* node = hitTestResult.innerNonSharedNode();
-    if (!node)
-        return ContextMenuItem();
-
-    Frame* frame = node-&gt;document().frame();
-    if (!frame)
-        return ContextMenuItem();
-
-    URL downloadableMediaURL;
-    if (!hitTestResult.absoluteMediaURL().isEmpty() &amp;&amp; hitTestResult.isDownloadableMedia())
-        downloadableMediaURL = hitTestResult.absoluteMediaURL();
-
-    RetainPtr&lt;NSImage&gt; nsImage;
-    if (Image* image = hitTestResult.image()) {
-        if (RefPtr&lt;SharedBuffer&gt; buffer = image-&gt;data())
-            nsImage = adoptNS([[NSImage alloc] initWithData:[NSData dataWithBytes:buffer-&gt;data() length:buffer-&gt;size()]]);
-    }
-
-    return ContextMenuItem::shareMenuItem(hitTestResult.absoluteLinkURL(), downloadableMediaURL, nsImage.get(), hitTestResult.selectedText());
-}
-
</del><span class="cx"> bool WebContextMenuClient::clientFloatRectForNode(Node&amp; node, FloatRect&amp; rect) const
</span><span class="cx"> {
</span><span class="cx">     RenderObject* renderer = node.renderer();
</span></span></pre></div>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (192332 => 192333)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2015-11-12 00:14:01 UTC (rev 192332)
+++ trunk/Source/WebKit2/ChangeLog        2015-11-12 00:29:53 UTC (rev 192333)
</span><span class="lines">@@ -1,3 +1,14 @@
</span><ins>+2015-11-11  Anders Carlsson  &lt;andersca@apple.com&gt;
+
+        Remove more dead context menu code
+        https://bugs.webkit.org/show_bug.cgi?id=151163
+
+        Reviewed by Tim Horton.
+
+        * WebProcess/WebCoreSupport/WebContextMenuClient.h:
+        * WebProcess/WebCoreSupport/mac/WebContextMenuClientMac.mm:
+        (WebKit::WebContextMenuClient::shareMenuItem): Deleted.
+
</ins><span class="cx"> 2015-11-11  Tim Horton  &lt;timothy_horton@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Remove an unnecessary zero-delay timer from swipe snapshot removal
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebCoreSupportWebContextMenuClienth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebContextMenuClient.h (192332 => 192333)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebContextMenuClient.h        2015-11-12 00:14:01 UTC (rev 192332)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebContextMenuClient.h        2015-11-12 00:29:53 UTC (rev 192333)
</span><span class="lines">@@ -52,7 +52,6 @@
</span><span class="cx">     virtual bool isSpeaking() override;
</span><span class="cx">     virtual void speak(const String&amp;) override;
</span><span class="cx">     virtual void stopSpeaking() override;
</span><del>-    virtual WebCore::ContextMenuItem shareMenuItem(const WebCore::HitTestResult&amp;) override;
</del><span class="cx"> 
</span><span class="cx"> #if PLATFORM(COCOA)
</span><span class="cx">     virtual void searchWithSpotlight() override;
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebCoreSupportmacWebContextMenuClientMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebCoreSupport/mac/WebContextMenuClientMac.mm (192332 => 192333)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/mac/WebContextMenuClientMac.mm        2015-11-12 00:14:01 UTC (rev 192332)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/mac/WebContextMenuClientMac.mm        2015-11-12 00:29:53 UTC (rev 192333)
</span><span class="lines">@@ -94,11 +94,6 @@
</span><span class="cx">     m_page-&gt;send(Messages::WebPageProxy::SearchWithSpotlight(selectedString));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-ContextMenuItem WebContextMenuClient::shareMenuItem(const HitTestResult&amp;)
-{
-    return ContextMenuItem(SubmenuType, ContextMenuItemTagShareMenu, emptyString());
-}
-
</del><span class="cx"> } // namespace WebKit
</span><span class="cx"> 
</span><span class="cx"> #endif // ENABLE(CONTEXT_MENUS)
</span></span></pre>
</div>
</div>

</body>
</html>