Index: content/renderer/history_serialization.cc |
diff --git a/content/renderer/history_serialization.cc b/content/renderer/history_serialization.cc |
index 56325a681e032d6b8691e07c1ef1839fffc995f4..4eae891e9d6eac25217dfb782d836b1c3bfcca5d 100644 |
--- a/content/renderer/history_serialization.cc |
+++ b/content/renderer/history_serialization.cc |
@@ -99,7 +99,8 @@ void GenerateFrameStateFromItem(const WebHistoryItem& item, |
state->http_body.http_content_type = item.httpContentType(); |
const WebHTTPBody& http_body = item.httpBody(); |
- if (!(state->http_body.is_null = http_body.isNull())) { |
+ state->http_body.is_null = http_body.isNull(); |
+ if (!state->http_body.is_null) { |
state->http_body.identifier = http_body.identifier(); |
state->http_body.elements.resize(http_body.elementCount()); |
for (size_t i = 0; i < http_body.elementCount(); ++i) { |