Title: [257145] trunk/Source/WebKit
- Revision
- 257145
- Author
- [email protected]
- Date
- 2020-02-21 10:18:51 -0800 (Fri, 21 Feb 2020)
Log Message
Remove WebPasteBoardProxy::PasteboardCopy as it is dead code
https://bugs.webkit.org/show_bug.cgi?id=208058
<rdar://problem/59658727>
Reviewed by Geoffrey Garen.
* UIProcess/Cocoa/WebPasteboardProxyCocoa.mm:
* UIProcess/WebPasteboardProxy.h:
* UIProcess/WebPasteboardProxy.messages.in:
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (257144 => 257145)
--- trunk/Source/WebKit/ChangeLog 2020-02-21 18:08:18 UTC (rev 257144)
+++ trunk/Source/WebKit/ChangeLog 2020-02-21 18:18:51 UTC (rev 257145)
@@ -1,3 +1,15 @@
+2020-02-21 Chris Dumez <[email protected]>
+
+ Remove WebPasteBoardProxy::PasteboardCopy as it is dead code
+ https://bugs.webkit.org/show_bug.cgi?id=208058
+ <rdar://problem/59658727>
+
+ Reviewed by Geoffrey Garen.
+
+ * UIProcess/Cocoa/WebPasteboardProxyCocoa.mm:
+ * UIProcess/WebPasteboardProxy.h:
+ * UIProcess/WebPasteboardProxy.messages.in:
+
2020-02-21 Per Arne Vollan <[email protected]>
[iOS] Fix media related sandbox issues in the GPU process
Modified: trunk/Source/WebKit/UIProcess/Cocoa/WebPasteboardProxyCocoa.mm (257144 => 257145)
--- trunk/Source/WebKit/UIProcess/Cocoa/WebPasteboardProxyCocoa.mm 2020-02-21 18:08:18 UTC (rev 257144)
+++ trunk/Source/WebKit/UIProcess/Cocoa/WebPasteboardProxyCocoa.mm 2020-02-21 18:18:51 UTC (rev 257145)
@@ -113,11 +113,6 @@
completionHandler(WTFMove(handle), size);
}
-void WebPasteboardProxy::pasteboardCopy(const String& fromPasteboard, const String& toPasteboard, CompletionHandler<void(int64_t)>&& completionHandler)
-{
- completionHandler(PlatformPasteboard(toPasteboard).copy(fromPasteboard));
-}
-
void WebPasteboardProxy::getPasteboardChangeCount(const String& pasteboardName, CompletionHandler<void(int64_t)>&& completionHandler)
{
completionHandler(PlatformPasteboard(pasteboardName).changeCount());
Modified: trunk/Source/WebKit/UIProcess/WebPasteboardProxy.h (257144 => 257145)
--- trunk/Source/WebKit/UIProcess/WebPasteboardProxy.h 2020-02-21 18:08:18 UTC (rev 257144)
+++ trunk/Source/WebKit/UIProcess/WebPasteboardProxy.h 2020-02-21 18:18:51 UTC (rev 257145)
@@ -83,7 +83,6 @@
void getPasteboardStringForType(const String& pasteboardName, const String& pasteboardType, CompletionHandler<void(String&&)>&&);
void getPasteboardStringsForType(const String& pasteboardName, const String& pasteboardType, CompletionHandler<void(Vector<String>&&)>&&);
void getPasteboardBufferForType(const String& pasteboardName, const String& pasteboardType, CompletionHandler<void(SharedMemory::Handle&&, uint64_t)>&&);
- void pasteboardCopy(const String& fromPasteboard, const String& toPasteboard, CompletionHandler<void(int64_t)>&&);
void getPasteboardChangeCount(const String& pasteboardName, CompletionHandler<void(int64_t)>&&);
void getPasteboardUniqueName(CompletionHandler<void(String&&)>&&);
void getPasteboardColor(const String& pasteboardName, CompletionHandler<void(WebCore::Color&&)>&&);
Modified: trunk/Source/WebKit/UIProcess/WebPasteboardProxy.messages.in (257144 => 257145)
--- trunk/Source/WebKit/UIProcess/WebPasteboardProxy.messages.in 2020-02-21 18:08:18 UTC (rev 257144)
+++ trunk/Source/WebKit/UIProcess/WebPasteboardProxy.messages.in 2020-02-21 18:18:51 UTC (rev 257145)
@@ -46,7 +46,6 @@
GetPasteboardStringForType(String pasteboardName, String pasteboardType) -> (String string) Synchronous
GetPasteboardStringsForType(String pasteboardName, String pasteboardType) -> (Vector<String> strings) Synchronous
GetPasteboardBufferForType(String pasteboardName, String pasteboardType) -> (WebKit::SharedMemory::Handle handle, uint64_t size) Synchronous
- PasteboardCopy(String fromPasteboard, String toPasteboard) -> (int64_t changeCount) Synchronous
GetPasteboardChangeCount(String pasteboardName) -> (int64_t changeCount) Synchronous
GetPasteboardUniqueName() -> (String pasteboardName) Synchronous
GetPasteboardColor(String pasteboardName) -> (WebCore::Color color) Synchronous
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes