Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Side by Side Diff: Source/core/css/CSSComputedStyleDeclaration.cpp

Issue 603443002: Don't add '(' to FUNCTION token names (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@internalsetshadowunused
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/css/CSSCalculationValue.cpp ('k') | Source/core/css/CSSSelector.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/css/CSSCalculationValue.cpp ('k') | Source/core/css/CSSSelector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698