| Index: Source/core/layout/LayoutBR.h
|
| diff --git a/Source/core/layout/LayoutBR.h b/Source/core/layout/LayoutBR.h
|
| index c7e738fa18e518ed2a529af17c17f95e8d57d872..84b8bb09cc38422f1d216815221170f747766a65 100644
|
| --- a/Source/core/layout/LayoutBR.h
|
| +++ b/Source/core/layout/LayoutBR.h
|
| @@ -36,12 +36,7 @@ public:
|
|
|
| const char* name() const override { return "LayoutBR"; }
|
|
|
| - LayoutRect selectionRectForPaintInvalidation(const LayoutBoxModelObject* /* paintInvalidationContainer */) const override
|
| - {
|
| - // TODO(wkorman): When selected we need to return a rect that includes the
|
| - // space highlighted to illustrate a newline.
|
| - return LayoutRect();
|
| - }
|
| + LayoutRect selectionRectForPaintInvalidation(const LayoutBoxModelObject* /* paintInvalidationContainer */) const override;
|
|
|
| float width(unsigned /* from */, unsigned /* len */, const Font&, LayoutUnit /* xpos */, TextDirection, HashSet<const SimpleFontData*>* = nullptr /* fallbackFonts */ , FloatRect* /* glyphBounds */ = nullptr) const override { return 0; }
|
| float width(unsigned /* from */, unsigned /* len */, LayoutUnit /* xpos */, TextDirection, bool = false /* firstLine */, HashSet<const SimpleFontData*>* = nullptr /* fallbackFonts */, FloatRect* /* glyphBounds */ = nullptr) const override { return 0; }
|
|
|