| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r
ights reserved. |
| 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. |
| 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. | 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. |
| (...skipping 3725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3736 return; | 3736 return; |
| 3737 } | 3737 } |
| 3738 | 3738 |
| 3739 KURL cookieURL = this->cookieURL(); | 3739 KURL cookieURL = this->cookieURL(); |
| 3740 if (cookieURL.isEmpty()) | 3740 if (cookieURL.isEmpty()) |
| 3741 return; | 3741 return; |
| 3742 | 3742 |
| 3743 setCookies(this, cookieURL, value); | 3743 setCookies(this, cookieURL, value); |
| 3744 } | 3744 } |
| 3745 | 3745 |
| 3746 String Document::referrer() const | 3746 AtomicString Document::referrer() const |
| 3747 { | 3747 { |
| 3748 if (loader()) | 3748 if (loader()) |
| 3749 return loader()->request().httpReferrer(); | 3749 return loader()->request().httpReferrer(); |
| 3750 return String(); | 3750 return nullAtom; |
| 3751 } | 3751 } |
| 3752 | 3752 |
| 3753 String Document::domain() const | 3753 String Document::domain() const |
| 3754 { | 3754 { |
| 3755 return securityOrigin()->domain(); | 3755 return securityOrigin()->domain(); |
| 3756 } | 3756 } |
| 3757 | 3757 |
| 3758 void Document::setDomain(const String& newDomain, ExceptionState& exceptionState
) | 3758 void Document::setDomain(const String& newDomain, ExceptionState& exceptionState
) |
| 3759 { | 3759 { |
| 3760 if (isSandboxed(SandboxDocumentDomain)) { | 3760 if (isSandboxed(SandboxDocumentDomain)) { |
| (...skipping 1452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5213 } | 5213 } |
| 5214 | 5214 |
| 5215 FastTextAutosizer* Document::fastTextAutosizer() | 5215 FastTextAutosizer* Document::fastTextAutosizer() |
| 5216 { | 5216 { |
| 5217 if (!m_fastTextAutosizer && RuntimeEnabledFeatures::fastTextAutosizingEnable
d()) | 5217 if (!m_fastTextAutosizer && RuntimeEnabledFeatures::fastTextAutosizingEnable
d()) |
| 5218 m_fastTextAutosizer = FastTextAutosizer::create(this); | 5218 m_fastTextAutosizer = FastTextAutosizer::create(this); |
| 5219 return m_fastTextAutosizer.get(); | 5219 return m_fastTextAutosizer.get(); |
| 5220 } | 5220 } |
| 5221 | 5221 |
| 5222 } // namespace WebCore | 5222 } // namespace WebCore |
| OLD | NEW |