[WK2] Have API::Array creation methods return Ref<>
[WebKit-https.git] / Source / WebKit2 / UIProcess / WebProcessPool.cpp
index 85c44e9..01db384 100644 (file)
@@ -1419,7 +1419,7 @@ void WebProcessPool::pluginInfoStoreDidLoadPlugins(PluginInfoStore* store)
         plugins.uncheckedAppend(API::Dictionary::create(WTF::move(map)));
     }
 
-    m_client.plugInInformationBecameAvailable(this, API::Array::create(WTF::move(plugins)).get());
+    m_client.plugInInformationBecameAvailable(this, API::Array::create(WTF::move(plugins)).ptr());
 }
 
 void WebProcessPool::setPluginLoadClientPolicy(WebCore::PluginLoadClientPolicy policy, const String& host, const String& bundleIdentifier, const String& versionString)