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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutCounter.h

Issue 2754653002: Cleanup anonymous text objects that pass the document as a node. (Closed)
Patch Set: Cleanup anonymous text objects that pass the document as a node. Created 3 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
Index: third_party/WebKit/Source/core/layout/LayoutCounter.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutCounter.h b/third_party/WebKit/Source/core/layout/LayoutCounter.h
index 6863f4b307504107b90d903827957c3aab700977..0844eae613e4aea4b950975a21b2988a654a698d 100644
--- a/third_party/WebKit/Source/core/layout/LayoutCounter.h
+++ b/third_party/WebKit/Source/core/layout/LayoutCounter.h
@@ -28,6 +28,7 @@
namespace blink {
class CounterNode;
+class PseudoElement;
// LayoutCounter is used to represent the text of a counter.
// See http://www.w3.org/TR/CSS21/generate.html#counters
@@ -49,7 +50,7 @@ class CounterNode;
// LayoutCounter during their lifetime (see the static functions below).
class LayoutCounter final : public LayoutText {
public:
- LayoutCounter(Document*, const CounterContent&);
+ LayoutCounter(PseudoElement&, const CounterContent&);
~LayoutCounter() override;
// These functions are static so that any LayoutObject can call them.
« no previous file with comments | « third_party/WebKit/Source/core/dom/PseudoElement.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698