| Index: third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp b/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
|
| index bf38771975fcc1cd488da0f6d0ac001747ac343f..e4c9d61380096377090f26ee58b11e68fd596645 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
|
| +++ b/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
|
| @@ -355,11 +355,9 @@ static const Vector<CSSPropertyID>& computableProperties()
|
|
|
| CSSComputedStyleDeclaration::CSSComputedStyleDeclaration(Node* n, bool allowVisitedStyle, const String& pseudoElementName)
|
| : m_node(n)
|
| + , m_pseudoElementSpecifier(CSSSelector::parsePseudoId(pseudoElementName))
|
| , m_allowVisitedStyle(allowVisitedStyle)
|
| {
|
| - unsigned nameWithoutColonsStart = pseudoElementName[0] == ':' ? (pseudoElementName[1] == ':' ? 2 : 1) : 0;
|
| - m_pseudoElementSpecifier = CSSSelector::pseudoId(CSSSelector::parsePseudoType(
|
| - AtomicString(pseudoElementName.substring(nameWithoutColonsStart)), false));
|
| }
|
|
|
| CSSComputedStyleDeclaration::~CSSComputedStyleDeclaration()
|
|
|