Delete WebMetal implementation in favor of WebGPU
[WebKit-https.git] / Source / WebCore / inspector / InspectorCanvas.cpp
index a84edf3..96f7a24 100644 (file)
@@ -66,9 +66,6 @@
 #if ENABLE(WEBGPU)
 #include "GPUCanvasContext.h"
 #endif
-#if ENABLE(WEBMETAL)
-#include "WebMetalRenderingContext.h"
-#endif
 #include <JavaScriptCore/IdentifiersFactory.h>
 #include <JavaScriptCore/ScriptCallStackFactory.h>
 
@@ -237,10 +234,6 @@ Ref<Inspector::Protocol::Canvas::Canvas> InspectorCanvas::buildObjectForCanvas(b
     else if (is<GPUCanvasContext>(m_context))
         contextType = Inspector::Protocol::Canvas::ContextType::WebGPU;
 #endif
-#if ENABLE(WEBMETAL)
-    else if (is<WebMetalRenderingContext>(m_context))
-        contextType = Inspector::Protocol::Canvas::ContextType::WebMetal;
-#endif
     else {
         ASSERT_NOT_REACHED();
         contextType = Inspector::Protocol::Canvas::ContextType::Canvas2D;