Index: Source/core/layout/LayoutBR.cpp |
diff --git a/Source/core/layout/LayoutBR.cpp b/Source/core/layout/LayoutBR.cpp |
index 11a8b9d461641c0ba2cb0219bc5252ea985c0a91..7799a0c19564f7b5a9d88a00a79d31a8eb34be72 100644 |
--- a/Source/core/layout/LayoutBR.cpp |
+++ b/Source/core/layout/LayoutBR.cpp |
@@ -36,7 +36,7 @@ static PassRefPtr<StringImpl> newlineString() |
} |
LayoutBR::LayoutBR(Node* node) |
- : RenderText(node, newlineString()) |
+ : LayoutText(node, newlineString()) |
{ |
} |
@@ -52,7 +52,7 @@ int LayoutBR::lineHeight(bool firstLine) const |
void LayoutBR::styleDidChange(StyleDifference diff, const LayoutStyle* oldStyle) |
{ |
- RenderText::styleDidChange(diff, oldStyle); |
+ LayoutText::styleDidChange(diff, oldStyle); |
} |
int LayoutBR::caretMinOffset() const |