| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004 Zack Rusin <zack@kde.org> | 2 * Copyright (C) 2004 Zack Rusin <zack@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc.
All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc.
All rights reserved. |
| 4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> | 4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> |
| 5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> | 5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> |
| 6 * Copyright (C) 2011 Sencha, Inc. All rights reserved. | 6 * Copyright (C) 2011 Sencha, Inc. All rights reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Lesser General Public | 9 * modify it under the terms of the GNU Lesser General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 1114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1125 | 1125 |
| 1126 CSSComputedStyleDeclaration::CSSComputedStyleDeclaration(PassRefPtrWillBeRawPtr<
Node> n, bool allowVisitedStyle, const String& pseudoElementName) | 1126 CSSComputedStyleDeclaration::CSSComputedStyleDeclaration(PassRefPtrWillBeRawPtr<
Node> n, bool allowVisitedStyle, const String& pseudoElementName) |
| 1127 : m_node(n) | 1127 : m_node(n) |
| 1128 , m_allowVisitedStyle(allowVisitedStyle) | 1128 , m_allowVisitedStyle(allowVisitedStyle) |
| 1129 #if !ENABLE(OILPAN) | 1129 #if !ENABLE(OILPAN) |
| 1130 , m_refCount(1) | 1130 , m_refCount(1) |
| 1131 #endif | 1131 #endif |
| 1132 { | 1132 { |
| 1133 unsigned nameWithoutColonsStart = pseudoElementName[0] == ':' ? (pseudoEleme
ntName[1] == ':' ? 2 : 1) : 0; | 1133 unsigned nameWithoutColonsStart = pseudoElementName[0] == ':' ? (pseudoEleme
ntName[1] == ':' ? 2 : 1) : 0; |
| 1134 m_pseudoElementSpecifier = CSSSelector::pseudoId(CSSSelector::parsePseudoTyp
e( | 1134 m_pseudoElementSpecifier = CSSSelector::pseudoId(CSSSelector::parsePseudoTyp
e( |
| 1135 AtomicString(pseudoElementName.substring(nameWithoutColonsStart)))); | 1135 AtomicString(pseudoElementName.substring(nameWithoutColonsStart)), false
)); |
| 1136 } | 1136 } |
| 1137 | 1137 |
| 1138 CSSComputedStyleDeclaration::~CSSComputedStyleDeclaration() | 1138 CSSComputedStyleDeclaration::~CSSComputedStyleDeclaration() |
| 1139 { | 1139 { |
| 1140 } | 1140 } |
| 1141 | 1141 |
| 1142 #if !ENABLE(OILPAN) | 1142 #if !ENABLE(OILPAN) |
| 1143 void CSSComputedStyleDeclaration::ref() | 1143 void CSSComputedStyleDeclaration::ref() |
| 1144 { | 1144 { |
| 1145 ++m_refCount; | 1145 ++m_refCount; |
| (...skipping 1857 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3003 return list.release(); | 3003 return list.release(); |
| 3004 } | 3004 } |
| 3005 | 3005 |
| 3006 void CSSComputedStyleDeclaration::trace(Visitor* visitor) | 3006 void CSSComputedStyleDeclaration::trace(Visitor* visitor) |
| 3007 { | 3007 { |
| 3008 visitor->trace(m_node); | 3008 visitor->trace(m_node); |
| 3009 CSSStyleDeclaration::trace(visitor); | 3009 CSSStyleDeclaration::trace(visitor); |
| 3010 } | 3010 } |
| 3011 | 3011 |
| 3012 } // namespace blink | 3012 } // namespace blink |
| OLD | NEW |