Index: third_party/WebKit/Source/bindings/core/v8/custom/V8PopStateEventCustom.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8PopStateEventCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8PopStateEventCustom.cpp |
index d17b5d1208b5f139e0aefc59eedf86135402a375..0f8ffbb1b4f19a7b4e62a977722b92189e44bb24 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/custom/V8PopStateEventCustom.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8PopStateEventCustom.cpp |
@@ -82,8 +82,6 @@ void V8PopStateEvent::stateAttributeGetterCustom(const v8::FunctionCallbackInfo< |
if (isSameState) { |
v8::Local<v8::Value> v8HistoryValue = toV8(history, info.Holder(), info.GetIsolate()); |
- if (v8HistoryValue.IsEmpty()) |
- return; |
v8::Local<v8::Object> v8History = v8HistoryValue.As<v8::Object>(); |
if (!history->stateChanged()) { |
result = V8HiddenValue::getHiddenValue(scriptState, v8History, V8HiddenValue::state(info.GetIsolate())); |