-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=124085 Reviewed by Sam Weinig. Source/WebCore: * history/HistoryItem.cpp: (WebCore::HistoryItem::encodeBackForwardTree): Encode the root object. (WebCore::HistoryItem::encodeBackForwardTreeNode): Encode the target. * history/HistoryItem.h: Add new members. * platform/KeyedCoding.h: (WebCore::KeyedEncoder::encodeObject): Call beginObject, call the functor and then call endObject(). Source/WebKit2: Add a dictionary stack to KeyedEncoder that's pushed and popped by beginObject/endObject. * Shared/cf/KeyedEncoder.cpp: (WebKit::KeyedEncoder::KeyedEncoder): (WebKit::KeyedEncoder::~KeyedEncoder): (WebKit::KeyedEncoder::encodeUInt32): (WebKit::KeyedEncoder::encodeString): (WebKit::KeyedEncoder::beginObject): (WebKit::KeyedEncoder::endObject): * Shared/cf/KeyedEncoder.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158978 268f45cc-cd09-0410-ab3c-d52691b4dbfc
d66ca8b7