Index: third_party/WebKit/Source/core/frame/FrameView.cpp |
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp |
index 0b59c070e50fe11325dbc293a7336866381a584f..5973ff23a0c8405835530846834810eee2cf0d52 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp |
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp |
@@ -4086,9 +4086,9 @@ void FrameView::notifyRenderThrottlingObservers() |
// |
// Check if we can access our parent's security origin. |
m_crossOriginForThrottling = false; |
- const SecurityOrigin* origin = frame().securityContext()->securityOrigin(); |
+ const SecurityOrigin* origin = frame().securityContext()->getSecurityOrigin(); |
for (Frame* parentFrame = m_frame->tree().parent(); parentFrame; parentFrame = parentFrame->tree().parent()) { |
- const SecurityOrigin* parentOrigin = parentFrame->securityContext()->securityOrigin(); |
+ const SecurityOrigin* parentOrigin = parentFrame->securityContext()->getSecurityOrigin(); |
if (!origin->canAccess(parentOrigin)) { |
m_crossOriginForThrottling = true; |
break; |