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

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

Issue 940373003: Rename RenderText to LayoutText (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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/layout/LayoutButton.h ('k') | Source/core/layout/LayoutCounter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutCounter.h
diff --git a/Source/core/layout/LayoutCounter.h b/Source/core/layout/LayoutCounter.h
index 1a29cc05cf773901feffcc455a36e5aa61469e76..d50e6a8925b199ccda1a94bb401173d629810952 100644
--- a/Source/core/layout/LayoutCounter.h
+++ b/Source/core/layout/LayoutCounter.h
@@ -22,14 +22,14 @@
#ifndef LayoutCounter_h
#define LayoutCounter_h
+#include "core/layout/LayoutText.h"
#include "core/layout/style/CounterContent.h"
-#include "core/rendering/RenderText.h"
namespace blink {
class CounterNode;
-class LayoutCounter final : public RenderText {
+class LayoutCounter final : public LayoutText {
public:
LayoutCounter(Document*, const CounterContent&);
virtual ~LayoutCounter();
@@ -48,7 +48,7 @@ protected:
private:
virtual const char* renderName() const override;
- virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectCounter || RenderText::isOfType(type); }
+ virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectCounter || LayoutText::isOfType(type); }
virtual PassRefPtr<StringImpl> originalText() const override;
// Removes the reference to the CounterNode associated with this renderer.
« no previous file with comments | « Source/core/layout/LayoutButton.h ('k') | Source/core/layout/LayoutCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698