X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fcore%2Floader%2FFormSubmission.cpp;h=dea9f7949d6834109ee42c56ddf0b1ca0f06652c;hb=ff3e2503a20db9193d323c1d19c38c68004dec4a;hp=eb20225719e6836d0bf86b4adf332a85f8a2733d;hpb=7338fba38ba696536d1cc9d389afd716a6ab2fe6;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/core/loader/FormSubmission.cpp b/src/third_party/WebKit/Source/core/loader/FormSubmission.cpp index eb20225..dea9f79 100644 --- a/src/third_party/WebKit/Source/core/loader/FormSubmission.cpp +++ b/src/third_party/WebKit/Source/core/loader/FormSubmission.cpp @@ -260,8 +260,8 @@ void FormSubmission::populateFrameLoadRequest(FrameLoadRequest& frameRequest) if (!m_target.isEmpty()) frameRequest.setFrameName(m_target); - if (!m_referrer.isEmpty()) - frameRequest.resourceRequest().setHTTPReferrer(AtomicString(m_referrer)); + if (!m_referrer.referrer.isEmpty()) + frameRequest.resourceRequest().setHTTPReferrer(m_referrer); if (m_method == FormSubmission::PostMethod) { frameRequest.resourceRequest().setHTTPMethod("POST");