Index: Source/bindings/v8/custom/V8PopStateEventCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8PopStateEventCustom.cpp b/Source/bindings/v8/custom/V8PopStateEventCustom.cpp |
index 2e5d3b7e4b3d99e457440a1c7a2777aa15f15299..a46c374d11a869702f6a904a15118c6328b803a0 100644 |
--- a/Source/bindings/v8/custom/V8PopStateEventCustom.cpp |
+++ b/Source/bindings/v8/custom/V8PopStateEventCustom.cpp |
@@ -56,11 +56,6 @@ void V8PopStateEvent::stateAttrGetterCustom(v8::Local<v8::String> name, const v8 |
} |
PopStateEvent* event = V8PopStateEvent::toNative(info.Holder()); |
- if (!event->state().hasNoValue()) { |
- v8SetReturnValue(info, cacheState(info.Holder(), event->state().v8Value())); |
- return; |
- } |
- |
History* history = event->history(); |
if (!history || !event->serializedState()) { |
v8SetReturnValue(info, cacheState(info.Holder(), v8::Null(info.GetIsolate()))); |