CachedFrame construction should begin with a Frame&.
[WebKit-https.git] / Source / WebCore / history / CachedPage.cpp
index 056bbea..cd0713b 100644 (file)
@@ -53,7 +53,7 @@ PassOwnPtr<CachedPage> CachedPage::create(Page* page)
 CachedPage::CachedPage(Page* page)
     : m_timeStamp(monotonicallyIncreasingTime())
     , m_expirationTime(m_timeStamp + page->settings().backForwardCacheExpirationInterval())
-    , m_cachedMainFrame(CachedFrame::create(&page->mainFrame()))
+    , m_cachedMainFrame(CachedFrame::create(page->mainFrame()))
     , m_needStyleRecalcForVisitedLinks(false)
     , m_needsFullStyleRecalc(false)
     , m_needsCaptionPreferencesChanged(false)