Index: content/common/page_state_serialization.cc |
diff --git a/content/common/page_state_serialization.cc b/content/common/page_state_serialization.cc |
index c0816164d4f1263bdcc6fdb0cdf4a2a74bd5e1ae..2d4782e27b6f12e1d5e44bd35fe867fb37a5a8ae 100644 |
--- a/content/common/page_state_serialization.cc |
+++ b/content/common/page_state_serialization.cc |
@@ -514,7 +514,7 @@ void WriteFrameState( |
WriteReal(state.page_scale_factor, obj); |
WriteInteger64(state.item_sequence_number, obj); |
WriteInteger64(state.document_sequence_number, obj); |
- WriteInteger(state.referrer_policy, obj); |
+ WriteInteger(static_cast<int>(state.referrer_policy), obj); |
WriteReal(state.visual_viewport_scroll_offset.x(), obj); |
WriteReal(state.visual_viewport_scroll_offset.y(), obj); |