Index: third_party/WebKit/Source/core/loader/FrameFetchContext.cpp |
diff --git a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp |
index 59a785d26076b83b3a40b3a0fa379acbf84017d2..b9dcc40ac5785f6f53ab42b578be7bab4e3deb51 100644 |
--- a/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp |
+++ b/third_party/WebKit/Source/core/loader/FrameFetchContext.cpp |
@@ -192,7 +192,7 @@ void FrameFetchContext::addAdditionalRequestHeaders(ResourceRequest& request, Fe |
outgoingOrigin = SecurityOrigin::createFromString(request.httpReferrer()); |
} |
- request.addHTTPOriginIfNeeded(outgoingOrigin); |
+ request.addHTTPOriginIfNeeded(outgoingOrigin.get()); |
} |
if (m_document) |