diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-28 09:44:12 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-28 09:44:12 +0000 |
commit | 720cac8f7d971b7f6ceb0bd20a00621f49280748 (patch) | |
tree | 727d785f9995c171d112e0ec949408c0aca9645c /webkit/glue/glue_serialize.cc | |
parent | 4f0e37578577adbb3bd7de5a2ed606bf5cc1cf0c (diff) | |
download | chromium_src-720cac8f7d971b7f6ceb0bd20a00621f49280748.zip chromium_src-720cac8f7d971b7f6ceb0bd20a00621f49280748.tar.gz chromium_src-720cac8f7d971b7f6ceb0bd20a00621f49280748.tar.bz2 |
Revert the webkit merge to r53957.
Due to mysterious Mac unit_test and ui_test crashes. Tomorrow should be fun.
TBR=pfeldman
Review URL: http://codereview.chromium.org/551186
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37393 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/glue_serialize.cc')
-rw-r--r-- | webkit/glue/glue_serialize.cc | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/webkit/glue/glue_serialize.cc b/webkit/glue/glue_serialize.cc index 9b537ab..6cbe39b 100644 --- a/webkit/glue/glue_serialize.cc +++ b/webkit/glue/glue_serialize.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -49,9 +49,8 @@ struct SerializeObject { // This version checks and reads v1 and v2 correctly. // 4: Adds support for storing FormData::identifier(). // 5: Adds support for empty FormData -// 6: Adds support for documentSequenceNumbers // Should be const, but unit tests may modify it. -int kVersion = 6; +int kVersion = 5; // A bunch of convenience functions to read/write to SerializeObjects. // The serializers assume the input data is in the correct format and so does @@ -285,8 +284,6 @@ static void WriteHistoryItem( WriteInteger(static_cast<int>(children.size()), obj); for (size_t i = 0, c = children.size(); i < c; ++i) WriteHistoryItem(children[i], obj); - - WriteInteger64(item.documentSequenceNumber(), obj); } // Creates a new HistoryItem tree based on the serialized string. @@ -332,9 +329,6 @@ static WebHistoryItem ReadHistoryItem( for (int i = 0; i < num_children; ++i) item.appendToChildren(ReadHistoryItem(obj, include_form_data)); - if (obj->version >= 6) - item.setDocumentSequenceNumber(ReadInteger64(obj)); - return item; } |