Title: [236826] trunk/Source/WebKit
Revision
236826
Author
m...@apple.com
Date
2018-10-03 21:57:35 -0700 (Wed, 03 Oct 2018)

Log Message

Tried to fix non-Cocoa, ENABLE(ATTACHMENT_ELEMENT) builds after r236822.

* UIProcess/PageClient.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (236825 => 236826)


--- trunk/Source/WebKit/ChangeLog	2018-10-04 03:55:12 UTC (rev 236825)
+++ trunk/Source/WebKit/ChangeLog	2018-10-04 04:57:35 UTC (rev 236826)
@@ -1,5 +1,11 @@
 2018-10-03  Dan Bernstein  <m...@apple.com>
 
+        Tried to fix non-Cocoa, ENABLE(ATTACHMENT_ELEMENT) builds after r236822.
+
+        * UIProcess/PageClient.h:
+
+2018-10-03  Dan Bernstein  <m...@apple.com>
+
         [Cocoa] Let clients specify an NSFileWrapper subclassed to be used for _WKAttachment
         https://bugs.webkit.org/show_bug.cgi?id=190270
 

Modified: trunk/Source/WebKit/UIProcess/PageClient.h (236825 => 236826)


--- trunk/Source/WebKit/UIProcess/PageClient.h	2018-10-04 03:55:12 UTC (rev 236825)
+++ trunk/Source/WebKit/UIProcess/PageClient.h	2018-10-04 04:57:35 UTC (rev 236826)
@@ -444,8 +444,10 @@
 #if ENABLE(ATTACHMENT_ELEMENT)
     virtual void didInsertAttachment(API::Attachment&, const String& source) { }
     virtual void didRemoveAttachment(API::Attachment&) { }
+#if PLATFORM(COCOA)
     virtual NSFileWrapper *allocFileWrapperInstance() { return nullptr; }
 #endif
+#endif
 };
 
 } // namespace WebKit
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to