Index: third_party/WebKit/Source/web/IndexedDBClientImpl.cpp |
diff --git a/third_party/WebKit/Source/web/IndexedDBClientImpl.cpp b/third_party/WebKit/Source/web/IndexedDBClientImpl.cpp |
index 9069a51006443728e4077bf8593e05f263f341a6..5a1b9002a53ddbc0786aa461d98306f730d9deeb 100644 |
--- a/third_party/WebKit/Source/web/IndexedDBClientImpl.cpp |
+++ b/third_party/WebKit/Source/web/IndexedDBClientImpl.cpp |
@@ -50,7 +50,7 @@ bool IndexedDBClientImpl::allowIndexedDB(ExecutionContext* context, const String |
ASSERT_WITH_SECURITY_IMPLICATION(context->isDocument() || context->isWorkerGlobalScope()); |
if (context->isDocument()) { |
- WebSecurityOrigin origin(context->securityOrigin()); |
+ WebSecurityOrigin origin(context->getSecurityOrigin()); |
Document* document = toDocument(context); |
WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(document->frame()); |
// FIXME: webFrame->contentSettingsClient() returns 0 in test_shell and content_shell http://crbug.com/137269 |