summaryrefslogtreecommitdiff
path: root/Source/WebCore/rendering/TrailingFloatsRootInlineBox.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/rendering/TrailingFloatsRootInlineBox.h')
-rw-r--r--Source/WebCore/rendering/TrailingFloatsRootInlineBox.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/WebCore/rendering/TrailingFloatsRootInlineBox.h b/Source/WebCore/rendering/TrailingFloatsRootInlineBox.h
index cb89576ef..ae128471a 100644
--- a/Source/WebCore/rendering/TrailingFloatsRootInlineBox.h
+++ b/Source/WebCore/rendering/TrailingFloatsRootInlineBox.h
@@ -23,8 +23,7 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef TrailingFloatsRootInlineBox_h
-#define TrailingFloatsRootInlineBox_h
+#pragma once
#include "RootInlineBox.h"
@@ -39,9 +38,8 @@ public:
}
private:
- virtual float virtualLogicalHeight() const { return 0; }
+ float virtualLogicalHeight() const override { return 0; }
+ bool isTrailingFloatsRootInlineBox() const final { return true; }
};
} // namespace WebCore
-
-#endif // TrailingFloatsRootInlineBox_h