diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-04-10 09:28:39 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-04-10 09:28:39 +0000 |
commit | 32761a6cee1d0dee366b885b7b9c777e67885688 (patch) | |
tree | d6bec92bebfb216f4126356e55518842c2f476a1 /Source/WebCore/rendering/RenderTextControlMultiLine.h | |
parent | a4e969f4965059196ca948db781e52f7cfebf19e (diff) | |
download | WebKitGtk-tarball-32761a6cee1d0dee366b885b7b9c777e67885688.tar.gz |
webkitgtk-2.4.11webkitgtk-2.4.11
Diffstat (limited to 'Source/WebCore/rendering/RenderTextControlMultiLine.h')
-rw-r--r-- | Source/WebCore/rendering/RenderTextControlMultiLine.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Source/WebCore/rendering/RenderTextControlMultiLine.h b/Source/WebCore/rendering/RenderTextControlMultiLine.h index 192b782cd..42ff33194 100644 --- a/Source/WebCore/rendering/RenderTextControlMultiLine.h +++ b/Source/WebCore/rendering/RenderTextControlMultiLine.h @@ -30,7 +30,7 @@ class HTMLTextAreaElement; class RenderTextControlMultiLine final : public RenderTextControl { public: - RenderTextControlMultiLine(HTMLTextAreaElement&, Ref<RenderStyle>&&); + RenderTextControlMultiLine(HTMLTextAreaElement&, PassRef<RenderStyle>); virtual ~RenderTextControlMultiLine(); HTMLTextAreaElement& textAreaElement() const; @@ -38,21 +38,21 @@ public: private: void element() const = delete; - virtual bool isTextArea() const override { return true; } + virtual bool isTextArea() const { return true; } virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) override; - virtual float getAverageCharWidth() override; - virtual LayoutUnit preferredContentLogicalWidth(float charWidth) const override; + virtual float getAvgCharWidth(AtomicString family); + virtual LayoutUnit preferredContentLogicalWidth(float charWidth) const; virtual LayoutUnit computeControlLogicalHeight(LayoutUnit lineHeight, LayoutUnit nonContentHeight) const override; - virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const override; + virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const; - virtual Ref<RenderStyle> createInnerTextStyle(const RenderStyle* startStyle) const override; - virtual RenderObject* layoutSpecialExcludedChild(bool relayoutChildren) override; + virtual PassRef<RenderStyle> createInnerTextStyle(const RenderStyle* startStyle) const; + virtual RenderObject* layoutSpecialExcludedChild(bool relayoutChildren); }; -} // namespace WebCore +RENDER_OBJECT_TYPE_CASTS(RenderTextControlMultiLine, isTextArea()) -SPECIALIZE_TYPE_TRAITS_RENDER_OBJECT(RenderTextControlMultiLine, isTextArea()) +} -#endif // RenderTextControlMultiLine_h +#endif |