Index: third_party/WebKit/Source/core/frame/LocalFrame.cpp |
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
index 38269f0f9930117de9489404270140c54eed9224..996be29bb674e7a37a5c9ccffd9d596510fc0369 100644 |
--- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp |
@@ -538,6 +538,7 @@ LocalFrame* LocalFrame::localFrameRoot() { |
} |
bool LocalFrame::isCrossOriginSubframe() const { |
+ DCHECK(securityContext()); |
const SecurityOrigin* securityOrigin = securityContext()->getSecurityOrigin(); |
Frame* top = tree().top(); |
return top && |