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

Unified Diff: Source/core/layout/LayoutBR.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/HitTestResult.cpp ('k') | Source/core/layout/LayoutBR.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutBR.h
diff --git a/Source/core/layout/LayoutBR.h b/Source/core/layout/LayoutBR.h
index 9a9e810f8b1e1e23610b8dcdb3f77afbff03a472..64a3d9d705176fbecb252e0a870b169b7ad436fa 100644
--- a/Source/core/layout/LayoutBR.h
+++ b/Source/core/layout/LayoutBR.h
@@ -21,7 +21,7 @@
#ifndef LayoutBR_h
#define LayoutBR_h
-#include "core/rendering/RenderText.h"
+#include "core/layout/LayoutText.h"
/*
* The whole class here is a hack to get <br> working, as long as we don't have support for
@@ -29,7 +29,7 @@
*/
namespace blink {
-class LayoutBR final : public RenderText {
+class LayoutBR final : public LayoutText {
public:
explicit LayoutBR(Node*);
virtual ~LayoutBR();
@@ -44,7 +44,7 @@ public:
int lineHeight(bool firstLine) const;
// overrides
- virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectBr || RenderText::isOfType(type); }
+ virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectBr || LayoutText::isOfType(type); }
virtual int caretMinOffset() const override;
virtual int caretMaxOffset() const override;
« no previous file with comments | « Source/core/layout/HitTestResult.cpp ('k') | Source/core/layout/LayoutBR.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698