Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(676)

Unified Diff: Source/core/frame/History.cpp

Issue 28983004: Split the frame tree logic out of HistoryItem (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/history/HistoryItem.h » ('j') | Source/core/history/HistoryItem.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/History.cpp
diff --git a/Source/core/frame/History.cpp b/Source/core/frame/History.cpp
index 5edbb8df6e0494700156b74fb172f99721c68bac..4e5445e266f3b219b575d75bd192a69e72cccb4a 100644
--- a/Source/core/frame/History.cpp
+++ b/Source/core/frame/History.cpp
@@ -70,7 +70,7 @@ SerializedScriptValue* History::stateInternal() const
if (!m_frame)
return 0;
- if (HistoryItem* historyItem = m_frame->loader()->history()->currentItem())
+ if (HistoryItem* historyItem = m_frame->loader()->history()->currentItem(m_frame))
return historyItem->stateObject();
return 0;
« no previous file with comments | « no previous file | Source/core/history/HistoryItem.h » ('j') | Source/core/history/HistoryItem.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698