Improve use of NeverDestroyed
[WebKit-https.git] / Source / WebCore / workers / Worker.h
index 855c7e6..9a9a414 100644 (file)
@@ -76,7 +76,7 @@ private:
     void stop() final;
     const char* activeDOMObjectName() const final;
 
-    friend void networkStateChanged(bool isOnLine);
+    static void networkStateChanged(bool isOnLine);
 
     RefPtr<WorkerScriptLoader> m_scriptLoader;
     String m_identifier;