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

Unified Diff: third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp

Issue 2312293003: [CSSTypedOM] Computed StylePropertyMap use ComputedStyle for Lengths (Closed)
Patch Set: Change style recalc. Use CSSComputedStyleDec instead of CSSStyleDec. Created 4 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 side-by-side diff with in-line comments
Download patch
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 1489935dda61b3d49b85ce06356f2bc97132f7ee..106875e1c3dffc586d019426a6302c93b477dfd1 100644
--- a/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
+++ b/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
@@ -499,7 +499,8 @@ const ComputedStyle* CSSComputedStyleDeclaration::computeComputedStyle() const
{
Node* styledNode = this->styledNode();
ASSERT(styledNode);
- return styledNode->ensureComputedStyle(styledNode->isPseudoElement() ? PseudoIdNone : m_pseudoElementSpecifier);
+ // TODO(rjwright): Put this change in its own CL.
+ return styledNode->ensureComputedStyle(styledNode->getPseudoId());
}
Node* CSSComputedStyleDeclaration::styledNode() const

Powered by Google App Engine
This is Rietveld 408576698