OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) | 2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) |
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. |
4 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. | 4 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
697 void RenderStyle::setQuotes(PassRefPtr<QuotesData> q) | 697 void RenderStyle::setQuotes(PassRefPtr<QuotesData> q) |
698 { | 698 { |
699 if (QuotesData::equals(rareInheritedData->quotes.get(), q.get())) | 699 if (QuotesData::equals(rareInheritedData->quotes.get(), q.get())) |
700 return; | 700 return; |
701 rareInheritedData.access()->quotes = q; | 701 rareInheritedData.access()->quotes = q; |
702 } | 702 } |
703 | 703 |
704 void RenderStyle::clearCursorList() | 704 void RenderStyle::clearCursorList() |
705 { | 705 { |
706 if (rareInheritedData->cursorData) | 706 if (rareInheritedData->cursorData) |
707 rareInheritedData.access()->cursorData = 0; | 707 rareInheritedData.access()->cursorData = nullptr; |
708 } | 708 } |
709 | 709 |
710 void RenderStyle::addCallbackSelector(const String& selector) | 710 void RenderStyle::addCallbackSelector(const String& selector) |
711 { | 711 { |
712 if (!rareNonInheritedData->m_callbackSelectors.contains(selector)) | 712 if (!rareNonInheritedData->m_callbackSelectors.contains(selector)) |
713 rareNonInheritedData.access()->m_callbackSelectors.append(selector); | 713 rareNonInheritedData.access()->m_callbackSelectors.append(selector); |
714 } | 714 } |
715 | 715 |
716 void RenderStyle::clearContent() | 716 void RenderStyle::clearContent() |
717 { | 717 { |
(...skipping 871 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1589 } | 1589 } |
1590 | 1590 |
1591 void RenderStyle::setBorderImageOutset(const BorderImageLengthBox& outset) | 1591 void RenderStyle::setBorderImageOutset(const BorderImageLengthBox& outset) |
1592 { | 1592 { |
1593 if (surround->border.m_image.outset() == outset) | 1593 if (surround->border.m_image.outset() == outset) |
1594 return; | 1594 return; |
1595 surround.access()->border.m_image.setOutset(outset); | 1595 surround.access()->border.m_image.setOutset(outset); |
1596 } | 1596 } |
1597 | 1597 |
1598 } // namespace WebCore | 1598 } // namespace WebCore |
OLD | NEW |