Index: Source/core/rendering/RenderBR.h |
diff --git a/Source/core/rendering/RenderBR.h b/Source/core/rendering/RenderBR.h |
index 3d2897863ec95c148d4017108aab29f7fbb767e7..36c67a353551b594debbfb69cd53f7b77e85ac26 100644 |
--- a/Source/core/rendering/RenderBR.h |
+++ b/Source/core/rendering/RenderBR.h |
@@ -36,7 +36,7 @@ public: |
virtual const char* renderName() const OVERRIDE { return "RenderBR"; } |
- virtual LayoutRect selectionRectForPaintInvalidation(const RenderLayerModelObject* /*paintInvalidationContainer*/, bool /*clipToVisibleContent*/) OVERRIDE { return LayoutRect(); } |
+ virtual LayoutRect selectionRectForPaintInvalidation(const RenderLayerModelObject* /*paintInvalidationContainer*/, bool /*clipToVisibleContent*/) const OVERRIDE { return LayoutRect(); } |
virtual float width(unsigned /*from*/, unsigned /*len*/, const Font&, float /*xPos*/, TextDirection, HashSet<const SimpleFontData*>* = 0 /*fallbackFonts*/ , GlyphOverflow* = 0) const OVERRIDE { return 0; } |
virtual float width(unsigned /*from*/, unsigned /*len*/, float /*xpos*/, TextDirection, bool = false /*firstLine*/, HashSet<const SimpleFontData*>* = 0 /*fallbackFonts*/, GlyphOverflow* = 0) const OVERRIDE { return 0; } |