[WK2] Have API::Array creation methods return Ref<>
[WebKit-https.git] / Source / WebKit2 / WebProcess / WebPage / WebFrame.h
index 9af477a..dc68e2c 100644 (file)
@@ -98,7 +98,7 @@ public:
     String innerText() const;
     bool isFrameSet() const;
     WebFrame* parentFrame() const;
-    PassRefPtr<API::Array> childFrames();
+    Ref<API::Array> childFrames();
     JSGlobalContextRef jsContext();
     JSGlobalContextRef jsContextForWorld(InjectedBundleScriptWorld*);
     WebCore::IntRect contentBounds() const;