Index: Source/core/rendering/RenderBR.h |
diff --git a/Source/core/rendering/RenderBR.h b/Source/core/rendering/RenderBR.h |
index ff69d3a87a2e75120e2bf8fa325666f1b6965a89..f235b88e23a3d3a5de9daba26018c6e70e8f5d68 100644 |
--- a/Source/core/rendering/RenderBR.h |
+++ b/Source/core/rendering/RenderBR.h |
@@ -39,9 +39,9 @@ public: |
virtual LayoutRect selectionRectForPaintInvalidation(const RenderLayerModelObject* /*paintInvalidationContainer*/, bool /*clipToVisibleContent*/) 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; } |
+ virtual float width(unsigned /*from*/, unsigned /*len*/, float /*xpos*/, TextDirection, OwnOrFirstLineStyle = OwnStyle, HashSet<const SimpleFontData*>* = 0 /*fallbackFonts*/, GlyphOverflow* = 0) const OVERRIDE { return 0; } |
- int lineHeight(bool firstLine) const; |
+ int lineHeight(OwnOrFirstLineStyle) const; |
// overrides |
virtual bool isBR() const OVERRIDE { return true; } |