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

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

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/Position.cpp ('k') | Source/core/dom/PseudoElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/PseudoElement.h
diff --git a/Source/core/dom/PseudoElement.h b/Source/core/dom/PseudoElement.h
index 560d9f58daafe304c64e38c29f9b1e1175c16af7..4c2e377e95439a39ef2dcde2acdf484f45608138 100644
--- a/Source/core/dom/PseudoElement.h
+++ b/Source/core/dom/PseudoElement.h
@@ -28,7 +28,7 @@
#define PseudoElement_h
#include "core/dom/Element.h"
-#include "core/layout/style/LayoutStyle.h"
+#include "core/layout/style/ComputedStyle.h"
namespace blink {
@@ -36,9 +36,9 @@ class PseudoElement : public Element {
public:
static PassRefPtrWillBeRawPtr<PseudoElement> create(Element* parent, PseudoId);
- virtual PassRefPtr<LayoutStyle> customStyleForLayoutObject() override;
+ virtual PassRefPtr<ComputedStyle> customStyleForLayoutObject() override;
virtual void attach(const AttachContext& = AttachContext()) override;
- virtual bool layoutObjectIsNeeded(const LayoutStyle&) override;
+ virtual bool layoutObjectIsNeeded(const ComputedStyle&) override;
virtual bool canStartSelection() const override { return false; }
virtual bool canContainRangeEndPoint() const override { return false; }
@@ -59,7 +59,7 @@ private:
const QualifiedName& pseudoElementTagName();
-inline bool pseudoElementRendererIsNeeded(const LayoutStyle* style)
+inline bool pseudoElementRendererIsNeeded(const ComputedStyle* style)
{
if (!style)
return false;
« no previous file with comments | « Source/core/dom/Position.cpp ('k') | Source/core/dom/PseudoElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698