Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(201)

Unified Diff: third_party/WebKit/Source/core/frame/LocalFrame.cpp

Issue 2389023002: Deferred frame loading stats v2 (Closed)
Patch Set: address comments Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 &&

Powered by Google App Engine
This is Rietveld 408576698