| 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 671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 682 return; | 682 return; |
| 683 rareInheritedData.access()->quotes = q; | 683 rareInheritedData.access()->quotes = q; |
| 684 } | 684 } |
| 685 | 685 |
| 686 void RenderStyle::clearCursorList() | 686 void RenderStyle::clearCursorList() |
| 687 { | 687 { |
| 688 if (rareInheritedData->cursorData) | 688 if (rareInheritedData->cursorData) |
| 689 rareInheritedData.access()->cursorData = 0; | 689 rareInheritedData.access()->cursorData = 0; |
| 690 } | 690 } |
| 691 | 691 |
| 692 void RenderStyle::addCallbackSelector(const String& selector) |
| 693 { |
| 694 if (!rareNonInheritedData->m_callbackSelectors.contains(selector)) |
| 695 rareNonInheritedData.access()->m_callbackSelectors.append(selector); |
| 696 } |
| 697 |
| 692 void RenderStyle::clearContent() | 698 void RenderStyle::clearContent() |
| 693 { | 699 { |
| 694 if (rareNonInheritedData->m_content) | 700 if (rareNonInheritedData->m_content) |
| 695 rareNonInheritedData.access()->m_content = nullptr; | 701 rareNonInheritedData.access()->m_content = nullptr; |
| 696 } | 702 } |
| 697 | 703 |
| 698 void RenderStyle::appendContent(PassOwnPtr<ContentData> contentData) | 704 void RenderStyle::appendContent(PassOwnPtr<ContentData> contentData) |
| 699 { | 705 { |
| 700 OwnPtr<ContentData>& content = rareNonInheritedData.access()->m_content; | 706 OwnPtr<ContentData>& content = rareNonInheritedData.access()->m_content; |
| 701 ContentData* lastContent = content.get(); | 707 ContentData* lastContent = content.get(); |
| (...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1565 surround.access()->border.m_image.setOutset(outset); | 1571 surround.access()->border.m_image.setOutset(outset); |
| 1566 } | 1572 } |
| 1567 | 1573 |
| 1568 ShapeValue* RenderStyle::initialShapeInside() | 1574 ShapeValue* RenderStyle::initialShapeInside() |
| 1569 { | 1575 { |
| 1570 DEFINE_STATIC_LOCAL(RefPtr<ShapeValue>, sOutsideValue, (ShapeValue::createOu
tsideValue())); | 1576 DEFINE_STATIC_LOCAL(RefPtr<ShapeValue>, sOutsideValue, (ShapeValue::createOu
tsideValue())); |
| 1571 return sOutsideValue.get(); | 1577 return sOutsideValue.get(); |
| 1572 } | 1578 } |
| 1573 | 1579 |
| 1574 } // namespace WebCore | 1580 } // namespace WebCore |
| OLD | NEW |