Cached Page and Frame don't need to be ref-counted.
[WebKit-https.git] / Source / WebCore / history / HistoryItem.h
index 7fe4511..573c1b1 100644 (file)
@@ -286,7 +286,7 @@ private:
     // PageCache controls these fields.
     HistoryItem* m_next;
     HistoryItem* m_prev;
-    RefPtr<CachedPage> m_cachedPage;
+    OwnPtr<CachedPage> m_cachedPage;
     
 #if PLATFORM(MAC)
     RetainPtr<id> m_viewState;