Index: third_party/WebKit/Source/core/layout/LayoutBR.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBR.cpp b/third_party/WebKit/Source/core/layout/LayoutBR.cpp |
index 25ba1c9c3983370171a942119647bf5cffe35a1d..64c5dff5d14798cde936c3ac72299719a484118b 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBR.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBR.cpp |
@@ -43,13 +43,6 @@ LayoutBR::~LayoutBR() |
{ |
} |
-LayoutRect LayoutBR::selectionRectForPaintInvalidation(const LayoutBoxModelObject* paintInvalidationContainer) const |
-{ |
- // Although line breaks contain no actual text, if we're selected we need |
- // to return a rect that includes space to illustrate a newline. |
- return LayoutText::selectionRectForPaintInvalidation(paintInvalidationContainer); |
-} |
- |
int LayoutBR::lineHeight(bool firstLine) const |
{ |
const ComputedStyle& style = styleRef(firstLine && document().styleEngine().usesFirstLineRules()); |