Index: Source/WebCore/history/CachedFrame.cpp |
diff --git a/Source/WebCore/history/CachedFrame.cpp b/Source/WebCore/history/CachedFrame.cpp |
index bac63720bbeed2e05c63cdac2ecb5a176c3e7f58..6ad956ae2e44a880f38a341057b47d1498510208 100644 |
--- a/Source/WebCore/history/CachedFrame.cpp |
+++ b/Source/WebCore/history/CachedFrame.cpp |
@@ -114,11 +114,6 @@ void CachedFrameBase::restore() |
// cached page. |
frame->script()->updatePlatformScriptObjects(); |
-#if USE(ACCELERATED_COMPOSITING) |
- if (m_isComposited) |
- frame->view()->restoreBackingStores(); |
-#endif |
- |
frame->loader()->client()->didRestoreFromPageCache(); |
// Reconstruct the FrameTree |
@@ -178,11 +173,6 @@ CachedFrame::CachedFrame(Frame* frame) |
frame->loader()->client()->savePlatformDataToCachedFrame(this); |
-#if USE(ACCELERATED_COMPOSITING) |
- if (m_isComposited && pageCache()->shouldClearBackingStores()) |
- frame->view()->clearBackingStores(); |
-#endif |
- |
// documentWillSuspendForPageCache() can set up a layout timer on the FrameView, so clear timers after that. |
frame->clearTimers(); |