Title: [229194] trunk/Source/WebCore
Revision
229194
Author
d...@apple.com
Date
2018-03-02 16:07:51 -0800 (Fri, 02 Mar 2018)

Log Message

Remove NP_GLContext since it is unsupported
https://bugs.webkit.org/show_bug.cgi?id=183305
<rdar://problem/36875555>

Reviewed by Simon Fraser.

* plugins/npapi.h: Remove NP_GLContext and mention that
it is not supported.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (229193 => 229194)


--- trunk/Source/WebCore/ChangeLog	2018-03-03 00:07:33 UTC (rev 229193)
+++ trunk/Source/WebCore/ChangeLog	2018-03-03 00:07:51 UTC (rev 229194)
@@ -1,3 +1,14 @@
+2018-03-02  Dean Jackson  <d...@apple.com>
+
+        Remove NP_GLContext since it is unsupported
+        https://bugs.webkit.org/show_bug.cgi?id=183305
+        <rdar://problem/36875555>
+
+        Reviewed by Simon Fraser.
+
+        * plugins/npapi.h: Remove NP_GLContext and mention that
+        it is not supported.
+
 2018-03-02  Chris Dumez  <cdu...@apple.com>
 
         imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/location-protocol-setter-non-broken.html crashes with async policy delegates

Modified: trunk/Source/WebCore/plugins/npapi.h (229193 => 229194)


--- trunk/Source/WebCore/plugins/npapi.h	2018-03-03 00:07:33 UTC (rev 229193)
+++ trunk/Source/WebCore/plugins/npapi.h	2018-03-03 00:07:51 UTC (rev 229194)
@@ -284,7 +284,7 @@
   NPDrawingModelQuickDraw = 0,
 #endif
   NPDrawingModelCoreGraphics = 1,
-  NPDrawingModelOpenGL = 2,
+  NPDrawingModelOpenGL = 2, // Note: This is not supported.
   NPDrawingModelCoreAnimation = 3
 } NPDrawingModel;
 
@@ -583,21 +583,6 @@
 #endif
 } NP_CGContext;
 
-/*
- * NP_GLContext is the type of the NPWindow's 'window' when the plugin specifies NPDrawingModelOpenGL as its
- * drawing model.
- */
-
-typedef struct NP_GLContext
-{
-  CGLContextObj context;
-#ifdef NP_NO_CARBON
-  NPNSWindow *window;
-#else
-  void *window; /* Can be either an NSWindow or a WindowRef depending on the event model */
-#endif
-} NP_GLContext;
-
 typedef enum {
   NPCocoaEventDrawRect = 1,
   NPCocoaEventMouseDown,
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to