Index: third_party/WebKit/Source/core/loader/TextResourceDecoderBuilder.cpp |
diff --git a/third_party/WebKit/Source/core/loader/TextResourceDecoderBuilder.cpp b/third_party/WebKit/Source/core/loader/TextResourceDecoderBuilder.cpp |
index 077ad6d0f5013afd3cd332a3a30ec748e3eb6825..3f458a2413ad102cfcb136d6a123b0daaf8cbdc1 100644 |
--- a/third_party/WebKit/Source/core/loader/TextResourceDecoderBuilder.cpp |
+++ b/third_party/WebKit/Source/core/loader/TextResourceDecoderBuilder.cpp |
@@ -39,7 +39,7 @@ namespace blink { |
static inline bool canReferToParentFrameEncoding(const LocalFrame* frame, const LocalFrame* parentFrame) |
{ |
- return parentFrame && parentFrame->document()->securityOrigin()->canAccess(frame->document()->securityOrigin()); |
+ return parentFrame && parentFrame->document()->getSecurityOrigin()->canAccess(frame->document()->getSecurityOrigin()); |
} |