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

Unified Diff: Source/core/dom/PseudoElement.cpp

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 9 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
« no previous file with comments | « Source/core/dom/PseudoElement.h ('k') | Source/core/dom/Text.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/PseudoElement.cpp
diff --git a/Source/core/dom/PseudoElement.cpp b/Source/core/dom/PseudoElement.cpp
index 5d48bd324e326d5f8cb1da759c8d5f70a75a0b4b..3156e0dabb2ef7e6f21eb90614d10b62d26b9d0c 100644
--- a/Source/core/dom/PseudoElement.cpp
+++ b/Source/core/dom/PseudoElement.cpp
@@ -91,7 +91,7 @@ PseudoElement::PseudoElement(Element* parent, PseudoId pseudoId)
setHasCustomStyleCallbacks();
}
-PassRefPtr<LayoutStyle> PseudoElement::customStyleForLayoutObject()
+PassRefPtr<ComputedStyle> PseudoElement::customStyleForLayoutObject()
{
return parentOrShadowHostElement()->layoutObject()->getCachedPseudoStyle(m_pseudoId);
}
@@ -122,7 +122,7 @@ void PseudoElement::attach(const AttachContext& context)
if (!renderer)
return;
- LayoutStyle& style = renderer->mutableStyleRef();
+ ComputedStyle& style = renderer->mutableStyleRef();
if (style.styleType() != BEFORE && style.styleType() != AFTER)
return;
ASSERT(style.contentData());
@@ -138,7 +138,7 @@ void PseudoElement::attach(const AttachContext& context)
}
}
-bool PseudoElement::layoutObjectIsNeeded(const LayoutStyle& style)
+bool PseudoElement::layoutObjectIsNeeded(const ComputedStyle& style)
{
return pseudoElementRendererIsNeeded(&style);
}
« no previous file with comments | « Source/core/dom/PseudoElement.h ('k') | Source/core/dom/Text.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698