Changeset 205093 in webkit
- Timestamp:
- Aug 27, 2016, 5:40:24 PM (9 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 71 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r205092 r205093 1 2016-08-27 Rawinder Singh <[email protected]> 2 3 Add final keyword to final classes and overriden methods in WebCore/css 4 https://bugs.webkit.org/show_bug.cgi?id=161182 5 6 Reviewed by Darin Adler. 7 8 - Mark classes in the WebCore/css directory final as appropriate. 9 - Update WebCore/css classes so that overriden methods in final classes are marked final. 10 11 * css/CSSAnimationTriggerScrollValue.h: 12 * css/CSSAspectRatioValue.h: 13 * css/CSSBasicShapes.h: 14 * css/CSSBorderImageSliceValue.h: 15 * css/CSSCalculationValue.cpp: 16 (WebCore::determineCategory): 17 * css/CSSCalculationValue.h: 18 * css/CSSCanvasValue.h: 19 * css/CSSCharsetRule.h: 20 * css/CSSComputedStyleDeclaration.h: 21 * css/CSSContentDistributionValue.h: 22 * css/CSSCrossfadeValue.h: 23 * css/CSSCursorImageValue.h: 24 * css/CSSCustomPropertyValue.h: 25 * css/CSSFilterImageValue.h: 26 * css/CSSFontFaceLoadEvent.h: 27 * css/CSSFontFaceSrcValue.h: 28 * css/CSSFontFeatureValue.h: 29 * css/CSSFontSelector.h: 30 * css/CSSFontValue.h: 31 * css/CSSFunctionValue.h: 32 * css/CSSGradientValue.h: 33 * css/CSSGridAutoRepeatValue.h: 34 * css/CSSGridLineNamesValue.h: 35 * css/CSSGridTemplateAreasValue.h: 36 * css/CSSImageSetValue.h: 37 * css/CSSImageValue.h: 38 * css/CSSInheritedValue.h: 39 * css/CSSInitialValue.h: 40 * css/CSSKeyframeRule.h: 41 * css/CSSKeyframesRule.h: 42 * css/CSSLineBoxContainValue.h: 43 * css/CSSNamedImageValue.h: 44 * css/CSSPrimitiveValue.h: 45 * css/CSSReflectValue.h: 46 * css/CSSRevertValue.h: 47 * css/CSSRuleList.h: 48 * css/CSSSegmentedFontFace.h: 49 * css/CSSShadowValue.h: 50 * css/CSSStyleSheet.cpp: 51 * css/CSSStyleSheet.h: 52 * css/CSSSupportsRule.h: 53 * css/CSSTimingFunctionValue.h: 54 * css/CSSUnicodeRangeValue.h: 55 * css/CSSUnknownRule.h: 56 * css/CSSUnsetValue.h: 57 * css/CSSValue.cpp: 58 * css/CSSVariableDependentValue.h: 59 * css/CSSVariableValue.h: 60 * css/Counter.h: 61 * css/DOMCSSNamespace.h: 62 * css/DashboardRegion.h: 63 * css/LengthRepeat.h: 64 * css/MediaList.h: 65 * css/MediaQueryList.h: 66 * css/MediaQueryMatcher.h: 67 * css/Pair.h: 68 * css/PropertySetCSSStyleDeclaration.h: 69 * css/RGBColor.h: 70 * css/Rect.h: 71 * css/StyleMedia.h: 72 * css/StyleProperties.h: 73 * css/StyleRule.h: 74 * css/StyleRuleImport.h: 75 * css/StyleSheetContents.h: 76 * css/StyleSheetList.h: 77 * css/ViewportStyleResolver.h: 78 * css/WebKitCSSFilterValue.h: 79 * css/WebKitCSSRegionRule.h: 80 * css/WebKitCSSTransformValue.h: 81 * css/WebKitCSSViewportRule.h: 82 1 83 2016-08-27 Simon Fraser <[email protected]> 2 84 -
trunk/Source/WebCore/css/CSSAnimationTriggerScrollValue.h
r201223 r205093 32 32 namespace WebCore { 33 33 34 class CSSAnimationTriggerScrollValue : public CSSValue {34 class CSSAnimationTriggerScrollValue final : public CSSValue { 35 35 public: 36 36 static Ref<CSSAnimationTriggerScrollValue> create(Ref<CSSValue>&& startValue, RefPtr<CSSValue>&& endValue = nullptr) -
trunk/Source/WebCore/css/CSSAspectRatioValue.h
r201113 r205093 33 33 namespace WebCore { 34 34 35 class CSSAspectRatioValue : public CSSValue {35 class CSSAspectRatioValue final : public CSSValue { 36 36 public: 37 37 static Ref<CSSAspectRatioValue> create(float numeratorValue, float denominatorValue) -
trunk/Source/WebCore/css/CSSBasicShapes.h
r201303 r205093 113 113 CSSBasicShapeInset() { } 114 114 115 Type type() const override{ return CSSBasicShapeInsetType; }116 String cssText() const override;117 bool equals(const CSSBasicShape&) const override;115 Type type() const final { return CSSBasicShapeInsetType; } 116 String cssText() const final; 117 bool equals(const CSSBasicShape&) const final; 118 118 119 119 RefPtr<CSSPrimitiveValue> m_top; … … 143 143 CSSBasicShapeCircle() { } 144 144 145 Type type() const override{ return CSSBasicShapeCircleType; }146 String cssText() const override;147 bool equals(const CSSBasicShape&) const override;145 Type type() const final { return CSSBasicShapeCircleType; } 146 String cssText() const final; 147 bool equals(const CSSBasicShape&) const final; 148 148 149 149 RefPtr<CSSPrimitiveValue> m_centerX; … … 169 169 CSSBasicShapeEllipse() { } 170 170 171 Type type() const override{ return CSSBasicShapeEllipseType; }172 String cssText() const override;173 bool equals(const CSSBasicShape&) const override;171 Type type() const final { return CSSBasicShapeEllipseType; } 172 String cssText() const final; 173 bool equals(const CSSBasicShape&) const final; 174 174 175 175 RefPtr<CSSPrimitiveValue> m_centerX; … … 200 200 } 201 201 202 Type type() const override{ return CSSBasicShapePolygonType; }203 String cssText() const override;204 bool equals(const CSSBasicShape&) const override;202 Type type() const final { return CSSBasicShapePolygonType; } 203 String cssText() const final; 204 bool equals(const CSSBasicShape&) const final; 205 205 206 206 Vector<Ref<CSSPrimitiveValue>> m_values; … … 226 226 CSSBasicShapePath(std::unique_ptr<SVGPathByteStream>&&); 227 227 228 Type type() const override{ return CSSBasicShapePathType; }229 String cssText() const override;230 bool equals(const CSSBasicShape&) const override;228 Type type() const final { return CSSBasicShapePathType; } 229 String cssText() const final; 230 bool equals(const CSSBasicShape&) const final; 231 231 232 232 std::unique_ptr<SVGPathByteStream> m_byteStream; -
trunk/Source/WebCore/css/CSSBorderImageSliceValue.h
r201113 r205093 33 33 class Rect; 34 34 35 class CSSBorderImageSliceValue : public CSSValue {35 class CSSBorderImageSliceValue final : public CSSValue { 36 36 public: 37 37 static Ref<CSSBorderImageSliceValue> create(RefPtr<CSSPrimitiveValue>&& slices, bool fill) -
trunk/Source/WebCore/css/CSSCalculationValue.cpp
r201318 r205093 214 214 215 215 private: 216 bool isZero() const override216 bool isZero() const final 217 217 { 218 218 return !m_value->getDoubleValue(); 219 219 } 220 220 221 String customCSSText() const override221 String customCSSText() const final 222 222 { 223 223 return m_value->cssText(); 224 224 } 225 225 226 std::unique_ptr<CalcExpressionNode> createCalcExpression(const CSSToLengthConversionData& conversionData) const override226 std::unique_ptr<CalcExpressionNode> createCalcExpression(const CSSToLengthConversionData& conversionData) const final 227 227 { 228 228 switch (category()) { … … 248 248 } 249 249 250 double doubleValue() const override250 double doubleValue() const final 251 251 { 252 252 if (hasDoubleValue(primitiveType())) … … 256 256 } 257 257 258 double computeLengthPx(const CSSToLengthConversionData& conversionData) const override258 double computeLengthPx(const CSSToLengthConversionData& conversionData) const final 259 259 { 260 260 switch (category()) { … … 277 277 } 278 278 279 bool equals(const CSSCalcExpressionNode& other) const override279 bool equals(const CSSCalcExpressionNode& other) const final 280 280 { 281 281 if (type() != other.type()) … … 285 285 } 286 286 287 Type type() const override{ return CssCalcPrimitiveValue; }288 CSSPrimitiveValue::UnitTypes primitiveType() const override287 Type type() const final { return CssCalcPrimitiveValue; } 288 CSSPrimitiveValue::UnitTypes primitiveType() const final 289 289 { 290 290 return CSSPrimitiveValue::UnitTypes(m_value->primitiveType()); … … 421 421 422 422 private: 423 bool isZero() const override423 bool isZero() const final 424 424 { 425 425 return !doubleValue(); 426 426 } 427 427 428 std::unique_ptr<CalcExpressionNode> createCalcExpression(const CSSToLengthConversionData& conversionData) const override428 std::unique_ptr<CalcExpressionNode> createCalcExpression(const CSSToLengthConversionData& conversionData) const final 429 429 { 430 430 std::unique_ptr<CalcExpressionNode> left(m_leftSide->createCalcExpression(conversionData)); … … 437 437 } 438 438 439 double doubleValue() const override439 double doubleValue() const final 440 440 { 441 441 return evaluate(m_leftSide->doubleValue(), m_rightSide->doubleValue()); 442 442 } 443 443 444 double computeLengthPx(const CSSToLengthConversionData& conversionData) const override444 double computeLengthPx(const CSSToLengthConversionData& conversionData) const final 445 445 { 446 446 const double leftValue = m_leftSide->computeLengthPx(conversionData); … … 463 463 } 464 464 465 String customCSSText() const override465 String customCSSText() const final 466 466 { 467 467 return buildCssText(m_leftSide->customCSSText(), m_rightSide->customCSSText(), m_operator); 468 468 } 469 469 470 bool equals(const CSSCalcExpressionNode& exp) const override470 bool equals(const CSSCalcExpressionNode& exp) const final 471 471 { 472 472 if (type() != exp.type()) … … 479 479 } 480 480 481 Type type() const override{ return CssCalcBinaryOperation; }482 483 CSSPrimitiveValue::UnitTypes primitiveType() const override481 Type type() const final { return CssCalcBinaryOperation; } 482 483 CSSPrimitiveValue::UnitTypes primitiveType() const final 484 484 { 485 485 switch (category()) { -
trunk/Source/WebCore/css/CSSCalculationValue.h
r201113 r205093 86 86 }; 87 87 88 class CSSCalcValue : public CSSValue {88 class CSSCalcValue final : public CSSValue { 89 89 public: 90 90 static RefPtr<CSSCalcValue> create(CSSParserString name, CSSParserValueList& arguments, CalculationPermittedValueRange); -
trunk/Source/WebCore/css/CSSCanvasValue.h
r201113 r205093 34 34 class HTMLCanvasElement; 35 35 36 class CSSCanvasValue : public CSSImageGeneratorValue {36 class CSSCanvasValue final : public CSSImageGeneratorValue { 37 37 public: 38 38 static Ref<CSSCanvasValue> create(const String& name) { return adoptRef(*new CSSCanvasValue(name)); } … … 72 72 73 73 private: 74 void canvasChanged(HTMLCanvasElement& canvas, const FloatRect& changedRect) override74 void canvasChanged(HTMLCanvasElement& canvas, const FloatRect& changedRect) final 75 75 { 76 76 m_ownerValue.canvasChanged(canvas, changedRect); 77 77 } 78 void canvasResized(HTMLCanvasElement& canvas) override78 void canvasResized(HTMLCanvasElement& canvas) final 79 79 { 80 80 m_ownerValue.canvasResized(canvas); 81 81 } 82 void canvasDestroyed(HTMLCanvasElement& canvas) override82 void canvasDestroyed(HTMLCanvasElement& canvas) final 83 83 { 84 84 m_ownerValue.canvasDestroyed(canvas); -
trunk/Source/WebCore/css/CSSCharsetRule.h
r197563 r205093 36 36 virtual ~CSSCharsetRule() { } 37 37 38 String cssText() const override;39 void reattach(StyleRuleBase&) override{ }38 String cssText() const final; 39 void reattach(StyleRuleBase&) final { } 40 40 41 41 const String& encoding() const { return m_encoding; } … … 43 43 44 44 private: 45 CSSRule::Type type() const override{ return CHARSET_RULE; }45 CSSRule::Type type() const final { return CHARSET_RULE; } 46 46 47 47 CSSCharsetRule(CSSStyleSheet* parent, const String& encoding); -
trunk/Source/WebCore/css/CSSComputedStyleDeclaration.h
r203623 r205093 95 95 virtual ~CSSComputedStyleDeclaration(); 96 96 97 WEBCORE_EXPORT void ref() override;98 WEBCORE_EXPORT void deref() override;97 WEBCORE_EXPORT void ref() final; 98 WEBCORE_EXPORT void deref() final; 99 99 100 100 String getPropertyValue(CSSPropertyID) const; … … 104 104 105 105 // CSSOM functions. Don't make these public. 106 CSSRule* parentRule() const override;107 unsigned length() const override;108 String item(unsigned index) const override;109 RefPtr<CSSValue> getPropertyCSSValue(const String& propertyName) override;110 String getPropertyValue(const String& propertyName) override;111 String getPropertyPriority(const String& propertyName) override;112 String getPropertyShorthand(const String& propertyName) override;113 bool isPropertyImplicit(const String& propertyName) override;114 void setProperty(const String& propertyName, const String& value, const String& priority, ExceptionCode&) override;115 String removeProperty(const String& propertyName, ExceptionCode&) override;116 String cssText() const override;117 void setCssText(const String&, ExceptionCode&) override;118 RefPtr<CSSValue> getPropertyCSSValueInternal(CSSPropertyID) override;119 String getPropertyValueInternal(CSSPropertyID) override;120 bool setPropertyInternal(CSSPropertyID, const String& value, bool important, ExceptionCode&) override;121 Ref<MutableStyleProperties> copyProperties() const override;106 CSSRule* parentRule() const final; 107 unsigned length() const final; 108 String item(unsigned index) const final; 109 RefPtr<CSSValue> getPropertyCSSValue(const String& propertyName) final; 110 String getPropertyValue(const String& propertyName) final; 111 String getPropertyPriority(const String& propertyName) final; 112 String getPropertyShorthand(const String& propertyName) final; 113 bool isPropertyImplicit(const String& propertyName) final; 114 void setProperty(const String& propertyName, const String& value, const String& priority, ExceptionCode&) final; 115 String removeProperty(const String& propertyName, ExceptionCode&) final; 116 String cssText() const final; 117 void setCssText(const String&, ExceptionCode&) final; 118 RefPtr<CSSValue> getPropertyCSSValueInternal(CSSPropertyID) final; 119 String getPropertyValueInternal(CSSPropertyID) final; 120 bool setPropertyInternal(CSSPropertyID, const String& value, bool important, ExceptionCode&) final; 121 Ref<MutableStyleProperties> copyProperties() const final; 122 122 123 123 RefPtr<CSSValue> getPropertyCSSValue(CSSPropertyID, EUpdateLayout = UpdateLayout) const; -
trunk/Source/WebCore/css/CSSContentDistributionValue.h
r188619 r205093 33 33 namespace WebCore { 34 34 35 class CSSContentDistributionValue : public CSSValue {35 class CSSContentDistributionValue final : public CSSValue { 36 36 public: 37 37 static Ref<CSSContentDistributionValue> create(CSSValueID distribution, CSSValueID position, CSSValueID overflow) -
trunk/Source/WebCore/css/CSSCrossfadeValue.h
r201290 r205093 41 41 class Document; 42 42 43 class CSSCrossfadeValue : public CSSImageGeneratorValue {43 class CSSCrossfadeValue final : public CSSImageGeneratorValue { 44 44 friend class CrossfadeSubimageObserverProxy; 45 45 public: … … 91 91 92 92 virtual ~CrossfadeSubimageObserverProxy() { } 93 void imageChanged(CachedImage*, const IntRect* = nullptr) override;93 void imageChanged(CachedImage*, const IntRect* = nullptr) final; 94 94 void setReady(bool ready) { m_ready = ready; } 95 95 private: -
trunk/Source/WebCore/css/CSSCursorImageValue.h
r202656 r205093 33 33 class SVGElement; 34 34 35 class CSSCursorImageValue : public CSSValue {35 class CSSCursorImageValue final : public CSSValue { 36 36 public: 37 37 static Ref<CSSCursorImageValue> create(Ref<CSSValue>&& imageValue, bool hasHotSpot, const IntPoint& hotSpot) -
trunk/Source/WebCore/css/CSSCustomPropertyValue.h
r201290 r205093 33 33 namespace WebCore { 34 34 35 class CSSCustomPropertyValue : public CSSValue {35 class CSSCustomPropertyValue final : public CSSValue { 36 36 public: 37 37 static Ref<CSSCustomPropertyValue> create(const AtomicString& name, Ref<CSSValue>&& value) -
trunk/Source/WebCore/css/CSSFilterImageValue.h
r201290 r205093 44 44 class StyleResolver; 45 45 46 class CSSFilterImageValue : public CSSImageGeneratorValue {46 class CSSFilterImageValue final : public CSSImageGeneratorValue { 47 47 friend class FilterSubimageObserverProxy; 48 48 public: … … 98 98 99 99 virtual ~FilterSubimageObserverProxy() { } 100 void imageChanged(CachedImage*, const IntRect* = nullptr) override;100 void imageChanged(CachedImage*, const IntRect* = nullptr) final; 101 101 void setReady(bool ready) { m_ready = ready; } 102 102 private: -
trunk/Source/WebCore/css/CSSFontFaceLoadEvent.h
r201113 r205093 75 75 DOMError* error() const { return m_error.get(); } 76 76 77 EventInterface eventInterface() const override;77 EventInterface eventInterface() const final; 78 78 79 79 private: -
trunk/Source/WebCore/css/CSSFontFaceSrcValue.h
r204466 r205093 37 37 class SVGFontFaceElement; 38 38 39 class CSSFontFaceSrcValue : public CSSValue {39 class CSSFontFaceSrcValue final : public CSSValue { 40 40 public: 41 41 static Ref<CSSFontFaceSrcValue> create(const String& resource) -
trunk/Source/WebCore/css/CSSFontFeatureValue.h
r194496 r205093 32 32 namespace WebCore { 33 33 34 class CSSFontFeatureValue : public CSSValue {34 class CSSFontFeatureValue final : public CSSValue { 35 35 public: 36 36 static Ref<CSSFontFeatureValue> create(FontFeatureTag&& tag, int value) -
trunk/Source/WebCore/css/CSSFontSelector.h
r204466 r205093 57 57 virtual ~CSSFontSelector(); 58 58 59 unsigned version() const override{ return m_version; }60 unsigned uniqueId() const override{ return m_uniqueId; }59 unsigned version() const final { return m_version; } 60 unsigned uniqueId() const final { return m_uniqueId; } 61 61 62 FontRanges fontRangesForFamily(const FontDescription&, const AtomicString&) override;63 size_t fallbackFontCount() override;64 RefPtr<Font> fallbackFontAt(const FontDescription&, size_t) override;62 FontRanges fontRangesForFamily(const FontDescription&, const AtomicString&) final; 63 size_t fallbackFontCount() final; 64 RefPtr<Font> fallbackFontAt(const FontDescription&, size_t) final; 65 65 66 66 void clearDocument(); … … 71 71 72 72 void fontLoaded(); 73 void fontCacheInvalidated() override;73 void fontCacheInvalidated() final; 74 74 75 75 bool isEmpty() const; 76 76 77 void registerForInvalidationCallbacks(FontSelectorClient&) override;78 void unregisterForInvalidationCallbacks(FontSelectorClient&) override;77 void registerForInvalidationCallbacks(FontSelectorClient&) final; 78 void unregisterForInvalidationCallbacks(FontSelectorClient&) final; 79 79 80 80 Document* document() const { return m_document; } … … 89 89 void dispatchInvalidationCallbacks(); 90 90 91 void fontModified() override;91 void fontModified() final; 92 92 93 93 void beginLoadTimerFired(); -
trunk/Source/WebCore/css/CSSFontValue.h
r201113 r205093 29 29 class CSSValueList; 30 30 31 class CSSFontValue : public CSSValue {31 class CSSFontValue final : public CSSValue { 32 32 public: 33 33 static Ref<CSSFontValue> create() -
trunk/Source/WebCore/css/CSSFunctionValue.h
r201290 r205093 34 34 struct CSSParserValue; 35 35 36 class CSSFunctionValue : public CSSValue {36 class CSSFunctionValue final : public CSSValue { 37 37 public: 38 38 static Ref<CSSFunctionValue> create(CSSParserFunction* function) -
trunk/Source/WebCore/css/CSSGradientValue.h
r202656 r205093 131 131 }; 132 132 133 class CSSLinearGradientValue : public CSSGradientValue {133 class CSSLinearGradientValue final : public CSSGradientValue { 134 134 public: 135 135 … … 168 168 }; 169 169 170 class CSSRadialGradientValue : public CSSGradientValue {170 class CSSRadialGradientValue final : public CSSGradientValue { 171 171 public: 172 172 static Ref<CSSRadialGradientValue> create(CSSGradientRepeat repeat, CSSGradientType gradientType = CSSRadialGradient) -
trunk/Source/WebCore/css/CSSGridAutoRepeatValue.h
r199343 r205093 50 50 // future. That's why we're using a list, it's prepared for future changes and it also 51 51 // allows us to keep the parsing algorithm almost intact. 52 class CSSGridAutoRepeatValue : public CSSValueList {52 class CSSGridAutoRepeatValue final : public CSSValueList { 53 53 public: 54 54 static Ref<CSSGridAutoRepeatValue> create(CSSValueID id) -
trunk/Source/WebCore/css/CSSGridLineNamesValue.h
r204466 r205093 37 37 namespace WebCore { 38 38 39 class CSSGridLineNamesValue : public CSSValueList {39 class CSSGridLineNamesValue final : public CSSValueList { 40 40 public: 41 41 static Ref<CSSGridLineNamesValue> create() -
trunk/Source/WebCore/css/CSSGridTemplateAreasValue.h
r199551 r205093 40 40 namespace WebCore { 41 41 42 class CSSGridTemplateAreasValue : public CSSValue {42 class CSSGridTemplateAreasValue final : public CSSValue { 43 43 public: 44 44 static Ref<CSSGridTemplateAreasValue> create(const NamedGridAreaMap& gridAreaMap, size_t rowCount, size_t columnCount) -
trunk/Source/WebCore/css/CSSImageSetValue.h
r204566 r205093 37 37 struct ResourceLoaderOptions; 38 38 39 class CSSImageSetValue : public CSSValueList {39 class CSSImageSetValue final : public CSSValueList { 40 40 public: 41 41 -
trunk/Source/WebCore/css/CSSImageValue.h
r201290 r205093 34 34 struct ResourceLoaderOptions; 35 35 36 class CSSImageValue : public CSSValue {36 class CSSImageValue final : public CSSValue { 37 37 public: 38 38 static Ref<CSSImageValue> create(const String& url) { return adoptRef(*new CSSImageValue(url)); } -
trunk/Source/WebCore/css/CSSInheritedValue.h
r194851 r205093 27 27 namespace WebCore { 28 28 29 class CSSInheritedValue : public CSSValue {29 class CSSInheritedValue final : public CSSValue { 30 30 public: 31 31 String customCSSText() const; -
trunk/Source/WebCore/css/CSSInitialValue.h
r194851 r205093 27 27 namespace WebCore { 28 28 29 class CSSInitialValue : public CSSValue {29 class CSSInitialValue final : public CSSValue { 30 30 public: 31 31 static Ref<CSSInitialValue> createExplicit() -
trunk/Source/WebCore/css/CSSKeyframeRule.h
r201818 r205093 37 37 class CSSKeyframesRule; 38 38 39 class StyleKeyframe : public RefCounted<StyleKeyframe> {39 class StyleKeyframe final : public RefCounted<StyleKeyframe> { 40 40 WTF_MAKE_FAST_ALLOCATED; 41 41 public: … … 73 73 virtual ~CSSKeyframeRule(); 74 74 75 String cssText() const override{ return m_keyframe->cssText(); }76 void reattach(StyleRuleBase&) override;75 String cssText() const final { return m_keyframe->cssText(); } 76 void reattach(StyleRuleBase&) final; 77 77 78 78 String keyText() const { return m_keyframe->keyText(); } … … 84 84 CSSKeyframeRule(StyleKeyframe&, CSSKeyframesRule* parent); 85 85 86 CSSRule::Type type() const override{ return KEYFRAME_RULE; }86 CSSRule::Type type() const final { return KEYFRAME_RULE; } 87 87 88 88 Ref<StyleKeyframe> m_keyframe; -
trunk/Source/WebCore/css/CSSKeyframesRule.h
r203753 r205093 39 39 class CSSKeyframeRule; 40 40 41 class StyleRuleKeyframes : public StyleRuleBase {41 class StyleRuleKeyframes final : public StyleRuleBase { 42 42 public: 43 43 static Ref<StyleRuleKeyframes> create() { return adoptRef(*new StyleRuleKeyframes()); } … … 72 72 virtual ~CSSKeyframesRule(); 73 73 74 CSSRule::Type type() const override{ return KEYFRAMES_RULE; }75 String cssText() const override;76 void reattach(StyleRuleBase&) override;74 CSSRule::Type type() const final { return KEYFRAMES_RULE; } 75 String cssText() const final; 76 void reattach(StyleRuleBase&) final; 77 77 78 78 String name() const { return m_keyframesRule->name(); } -
trunk/Source/WebCore/css/CSSLineBoxContainValue.h
r204466 r205093 39 39 40 40 // Used for text-CSSLineBoxContain and box-CSSLineBoxContain 41 class CSSLineBoxContainValue : public CSSValue {41 class CSSLineBoxContainValue final : public CSSValue { 42 42 public: 43 43 static Ref<CSSLineBoxContainValue> create(LineBoxContain value) -
trunk/Source/WebCore/css/CSSNamedImageValue.h
r200626 r205093 35 35 class Document; 36 36 37 class CSSNamedImageValue : public CSSImageGeneratorValue {37 class CSSNamedImageValue final : public CSSImageGeneratorValue { 38 38 public: 39 39 static Ref<CSSNamedImageValue> create(const String& name) -
trunk/Source/WebCore/css/CSSPrimitiveValue.h
r204717 r205093 78 78 } 79 79 80 class CSSPrimitiveValue : public CSSValue {80 class CSSPrimitiveValue final : public CSSValue { 81 81 public: 82 82 enum UnitTypes { -
trunk/Source/WebCore/css/CSSReflectValue.h
r201318 r205093 34 34 class CSSPrimitiveValue; 35 35 36 class CSSReflectValue : public CSSValue {36 class CSSReflectValue final : public CSSValue { 37 37 public: 38 38 static Ref<CSSReflectValue> create(Ref<CSSPrimitiveValue>&& direction, Ref<CSSPrimitiveValue>&& offset, RefPtr<CSSValue>&& mask) -
trunk/Source/WebCore/css/CSSRevertValue.h
r194851 r205093 32 32 namespace WebCore { 33 33 34 class CSSRevertValue : public CSSValue {34 class CSSRevertValue final : public CSSValue { 35 35 public: 36 36 String customCSSText() const; -
trunk/Source/WebCore/css/CSSRuleList.h
r204466 r205093 51 51 static Ref<StaticCSSRuleList> create() { return adoptRef(*new StaticCSSRuleList); } 52 52 53 void ref() override{ ++m_refCount; }54 void deref() override;53 void ref() final { ++m_refCount; } 54 void deref() final; 55 55 56 56 Vector<RefPtr<CSSRule>>& rules() { return m_rules; } 57 57 58 CSSStyleSheet* styleSheet() const override{ return nullptr; }58 CSSStyleSheet* styleSheet() const final { return nullptr; } 59 59 60 60 private: … … 62 62 ~StaticCSSRuleList(); 63 63 64 unsigned length() const override{ return m_rules.size(); }65 CSSRule* item(unsigned index) const override{ return index < m_rules.size() ? m_rules[index].get() : nullptr; }64 unsigned length() const final { return m_rules.size(); } 65 CSSRule* item(unsigned index) const final { return index < m_rules.size() ? m_rules[index].get() : nullptr; } 66 66 67 67 Vector<RefPtr<CSSRule>> m_rules; … … 78 78 } 79 79 80 void ref() override{ m_rule.ref(); }81 void deref() override{ m_rule.deref(); }80 void ref() final { m_rule.ref(); } 81 void deref() final { m_rule.deref(); } 82 82 83 83 private: 84 unsigned length() const override{ return m_rule.length(); }85 CSSRule* item(unsigned index) const override{ return m_rule.item(index); }86 CSSStyleSheet* styleSheet() const override{ return m_rule.parentStyleSheet(); }84 unsigned length() const final { return m_rule.length(); } 85 CSSRule* item(unsigned index) const final { return m_rule.item(index); } 86 CSSStyleSheet* styleSheet() const final { return m_rule.parentStyleSheet(); } 87 87 88 88 Rule& m_rule; -
trunk/Source/WebCore/css/CSSSegmentedFontFace.h
r201570 r205093 55 55 56 56 // CSSFontFace::Client needs to be able to be held in a RefPtr. 57 void ref() override{ RefCounted<CSSSegmentedFontFace>::ref(); }58 void deref() override{ RefCounted<CSSSegmentedFontFace>::deref(); }57 void ref() final { RefCounted<CSSSegmentedFontFace>::ref(); } 58 void deref() final { RefCounted<CSSSegmentedFontFace>::deref(); } 59 59 60 60 private: 61 61 CSSSegmentedFontFace(); 62 void fontLoaded(CSSFontFace&) override;62 void fontLoaded(CSSFontFace&) final; 63 63 64 64 HashMap<FontDescriptionKey, FontRanges, FontDescriptionKeyHash, WTF::SimpleClassHashTraits<FontDescriptionKey>> m_cache; -
trunk/Source/WebCore/css/CSSShadowValue.h
r204466 r205093 30 30 31 31 // Used for text-shadow and box-shadow 32 class CSSShadowValue : public CSSValue {32 class CSSShadowValue final : public CSSValue { 33 33 public: 34 34 static Ref<CSSShadowValue> create(RefPtr<CSSPrimitiveValue>&& x, -
trunk/Source/WebCore/css/CSSStyleSheet.cpp
r203740 r205093 49 49 namespace WebCore { 50 50 51 class StyleSheetCSSRuleList : public CSSRuleList {51 class StyleSheetCSSRuleList final : public CSSRuleList { 52 52 public: 53 53 StyleSheetCSSRuleList(CSSStyleSheet* sheet) : m_styleSheet(sheet) { } 54 54 55 55 private: 56 void ref() override{ m_styleSheet->ref(); }57 void deref() override{ m_styleSheet->deref(); }58 59 unsigned length() const override{ return m_styleSheet->length(); }60 CSSRule* item(unsigned index) const override{ return m_styleSheet->item(index); }61 62 CSSStyleSheet* styleSheet() const override{ return m_styleSheet; }56 void ref() final { m_styleSheet->ref(); } 57 void deref() final { m_styleSheet->deref(); } 58 59 unsigned length() const final { return m_styleSheet->length(); } 60 CSSRule* item(unsigned index) const final { return m_styleSheet->item(index); } 61 62 CSSStyleSheet* styleSheet() const final { return m_styleSheet; } 63 63 64 64 CSSStyleSheet* m_styleSheet; -
trunk/Source/WebCore/css/CSSStyleSheet.h
r204717 r205093 55 55 virtual ~CSSStyleSheet(); 56 56 57 CSSStyleSheet* parentStyleSheet() const override;58 Node* ownerNode() const override{ return m_ownerNode; }59 MediaList* media() const override;60 String href() const override;61 String title() const override{ return m_title; }62 bool disabled() const override{ return m_isDisabled; }63 void setDisabled(bool) override;57 CSSStyleSheet* parentStyleSheet() const final; 58 Node* ownerNode() const final { return m_ownerNode; } 59 MediaList* media() const final; 60 String href() const final; 61 String title() const final { return m_title; } 62 bool disabled() const final { return m_isDisabled; } 63 void setDisabled(bool) final; 64 64 65 65 WEBCORE_EXPORT RefPtr<CSSRuleList> cssRules(); … … 77 77 CSSRule* item(unsigned index); 78 78 79 void clearOwnerNode() override;80 CSSImportRule* ownerRule() const override{ return m_ownerRule; }81 URL baseURL() const override;82 bool isLoading() const override;79 void clearOwnerNode() final; 80 CSSImportRule* ownerRule() const final { return m_ownerRule; } 81 URL baseURL() const final; 82 bool isLoading() const final; 83 83 84 84 void clearOwnerRule() { m_ownerRule = 0; } … … 127 127 CSSStyleSheet(Ref<StyleSheetContents>&&, Node* ownerNode, const TextPosition& startPosition, bool isInlineStylesheet); 128 128 129 bool isCSSStyleSheet() const override{ return true; }130 String type() const override{ return ASCIILiteral("text/css"); }129 bool isCSSStyleSheet() const final { return true; } 130 String type() const final { return ASCIILiteral("text/css"); } 131 131 132 132 bool canAccessRules() const; -
trunk/Source/WebCore/css/CSSSupportsRule.h
r197563 r205093 46 46 virtual ~CSSSupportsRule() { } 47 47 48 String cssText() const override;48 String cssText() const final; 49 49 50 50 String conditionText() const; … … 53 53 CSSSupportsRule(StyleRuleSupports&, CSSStyleSheet*); 54 54 55 CSSRule::Type type() const override{ return SUPPORTS_RULE; }55 CSSRule::Type type() const final { return SUPPORTS_RULE; } 56 56 }; 57 57 -
trunk/Source/WebCore/css/CSSTimingFunctionValue.h
r204466 r205093 31 31 namespace WebCore { 32 32 33 class CSSCubicBezierTimingFunctionValue : public CSSValue {33 class CSSCubicBezierTimingFunctionValue final : public CSSValue { 34 34 public: 35 35 static Ref<CSSCubicBezierTimingFunctionValue> create(double x1, double y1, double x2, double y2) … … 63 63 }; 64 64 65 class CSSStepsTimingFunctionValue : public CSSValue {65 class CSSStepsTimingFunctionValue final : public CSSValue { 66 66 public: 67 67 static Ref<CSSStepsTimingFunctionValue> create(int steps, bool stepAtStart) … … 89 89 }; 90 90 91 class CSSSpringTimingFunctionValue : public CSSValue {91 class CSSSpringTimingFunctionValue final : public CSSValue { 92 92 public: 93 93 static Ref<CSSSpringTimingFunctionValue> create(double mass, double stiffness, double damping, double initialVelocity) -
trunk/Source/WebCore/css/CSSUnicodeRangeValue.h
r204466 r205093 31 31 namespace WebCore { 32 32 33 class CSSUnicodeRangeValue : public CSSValue {33 class CSSUnicodeRangeValue final : public CSSValue { 34 34 public: 35 35 static Ref<CSSUnicodeRangeValue> create(UChar32 from, UChar32 to) -
trunk/Source/WebCore/css/CSSUnknownRule.h
r197563 r205093 36 36 virtual ~CSSUnknownRule() { } 37 37 38 String cssText() const override{ return String(); }39 void reattach(StyleRuleBase&) override{ }38 String cssText() const final { return String(); } 39 void reattach(StyleRuleBase&) final { } 40 40 41 41 private: 42 CSSRule::Type type() const override{ return UNKNOWN_RULE; }42 CSSRule::Type type() const final { return UNKNOWN_RULE; } 43 43 }; 44 44 -
trunk/Source/WebCore/css/CSSUnsetValue.h
r194851 r205093 32 32 namespace WebCore { 33 33 34 class CSSUnsetValue : public CSSValue {34 class CSSUnsetValue final : public CSSValue { 35 35 public: 36 36 String customCSSText() const; -
trunk/Source/WebCore/css/CSSValue.cpp
r204566 r205093 79 79 COMPILE_ASSERT(sizeof(CSSValue) == sizeof(SameSizeAsCSSValue), CSS_value_should_stay_small); 80 80 81 class TextCloneCSSValue : public CSSValue {81 class TextCloneCSSValue final : public CSSValue { 82 82 public: 83 83 static Ref<TextCloneCSSValue> create(ClassType classType, const String& text) -
trunk/Source/WebCore/css/CSSVariableDependentValue.h
r201290 r205093 33 33 namespace WebCore { 34 34 35 class CSSVariableDependentValue : public CSSValue {35 class CSSVariableDependentValue final : public CSSValue { 36 36 public: 37 37 static Ref<CSSVariableDependentValue> create(Ref<CSSValueList>&& valueList, CSSPropertyID propId) -
trunk/Source/WebCore/css/CSSVariableValue.h
r191128 r205093 35 35 struct CSSParserVariable; 36 36 37 class CSSVariableValue : public CSSValue {37 class CSSVariableValue final : public CSSValue { 38 38 public: 39 39 static Ref<CSSVariableValue> create(CSSParserVariable* Variable) -
trunk/Source/WebCore/css/Counter.h
r201290 r205093 26 26 namespace WebCore { 27 27 28 class Counter : public RefCounted<Counter> {28 class Counter final : public RefCounted<Counter> { 29 29 public: 30 30 static Ref<Counter> create(Ref<CSSPrimitiveValue>&& identifier, Ref<CSSPrimitiveValue>&& listStyle, Ref<CSSPrimitiveValue>&& separator) -
trunk/Source/WebCore/css/DOMCSSNamespace.h
r204952 r205093 35 35 namespace WebCore { 36 36 37 class DOMCSSNamespace : public RefCounted<DOMCSSNamespace> {37 class DOMCSSNamespace final : public RefCounted<DOMCSSNamespace> { 38 38 public: 39 39 static bool supports(const String& property, const String& value); -
trunk/Source/WebCore/css/DashboardRegion.h
r177733 r205093 28 28 namespace WebCore { 29 29 30 class DashboardRegion : public RectBase, public RefCounted<DashboardRegion> {30 class DashboardRegion final : public RectBase, public RefCounted<DashboardRegion> { 31 31 public: 32 32 static Ref<DashboardRegion> create() { return adoptRef(*new DashboardRegion); } -
trunk/Source/WebCore/css/LengthRepeat.h
r185238 r205093 35 35 namespace WebCore { 36 36 37 class LengthRepeat : public RefCounted<LengthRepeat> {37 class LengthRepeat final : public RefCounted<LengthRepeat> { 38 38 public: 39 39 static Ref<LengthRepeat> create(PassRefPtr<CSSValue> interval) { return adoptRef(*new LengthRepeat(interval)); } -
trunk/Source/WebCore/css/MediaList.h
r204717 r205093 36 36 using ExceptionCode = int; 37 37 38 class MediaQuerySet : public RefCounted<MediaQuerySet> {38 class MediaQuerySet final : public RefCounted<MediaQuerySet> { 39 39 public: 40 40 static Ref<MediaQuerySet> create() … … 82 82 }; 83 83 84 class MediaList : public RefCounted<MediaList> {84 class MediaList final : public RefCounted<MediaList> { 85 85 public: 86 86 static Ref<MediaList> create(MediaQuerySet* mediaQueries, CSSStyleSheet* parentSheet) -
trunk/Source/WebCore/css/MediaQueryList.h
r201441 r205093 36 36 // will be called whenever the value of the query changes. 37 37 38 class MediaQueryList : public RefCounted<MediaQueryList> {38 class MediaQueryList final : public RefCounted<MediaQueryList> { 39 39 public: 40 40 static Ref<MediaQueryList> create(MediaQueryMatcher&, Ref<MediaQuerySet>&&, bool); -
trunk/Source/WebCore/css/MediaQueryMatcher.h
r201441 r205093 39 39 // The listeners must be called in the order in which they were added. 40 40 41 class MediaQueryMatcher : public RefCounted<MediaQueryMatcher> {41 class MediaQueryMatcher final : public RefCounted<MediaQueryMatcher> { 42 42 public: 43 43 static Ref<MediaQueryMatcher> create(Document& document) { return adoptRef(*new MediaQueryMatcher(document)); } -
trunk/Source/WebCore/css/Pair.h
r201113 r205093 31 31 // border-radius and background-size, but (FIXME) border-spacing and background-position could be converted over to use 32 32 // it (eliminating some extra -webkit- internal properties). 33 class Pair : public RefCounted<Pair> {33 class Pair final : public RefCounted<Pair> { 34 34 public: 35 35 enum class IdenticalValueEncoding { -
trunk/Source/WebCore/css/PropertySetCSSStyleDeclaration.h
r197566 r205093 92 92 void clearParentRule() { m_parentRule = 0; } 93 93 94 void ref() override;95 void deref() override;94 void ref() final; 95 void deref() final; 96 96 97 97 void reattach(MutableStyleProperties&); … … 100 100 StyleRuleCSSStyleDeclaration(MutableStyleProperties&, CSSRule&); 101 101 102 CSSStyleSheet* parentStyleSheet() const override;102 CSSStyleSheet* parentStyleSheet() const final; 103 103 104 CSSRule* parentRule() const override{ return m_parentRule; }104 CSSRule* parentRule() const final { return m_parentRule; } 105 105 106 bool willMutate() overrideWARN_UNUSED_RETURN;107 void didMutate(MutationType) override;106 bool willMutate() final WARN_UNUSED_RETURN; 107 void didMutate(MutationType) final; 108 108 109 109 unsigned m_refCount; … … 121 121 122 122 private: 123 CSSStyleSheet* parentStyleSheet() const override;124 StyledElement* parentElement() const override{ return m_parentElement; }125 void clearParentElement() override{ m_parentElement = 0; }123 CSSStyleSheet* parentStyleSheet() const final; 124 StyledElement* parentElement() const final { return m_parentElement; } 125 void clearParentElement() final { m_parentElement = 0; } 126 126 127 void didMutate(MutationType) override;127 void didMutate(MutationType) final; 128 128 129 129 StyledElement* m_parentElement; -
trunk/Source/WebCore/css/RGBColor.h
r204717 r205093 34 34 class CSSPrimitiveValue; 35 35 36 class RGBColor : public RefCounted<RGBColor> {36 class RGBColor final : public RefCounted<RGBColor> { 37 37 public: 38 38 static Ref<RGBColor> create(unsigned rgbColor); -
trunk/Source/WebCore/css/Rect.h
r201290 r205093 66 66 }; 67 67 68 class Rect : public RectBase, public RefCounted<Rect> {68 class Rect final : public RectBase, public RefCounted<Rect> { 69 69 public: 70 70 static Ref<Rect> create() { return adoptRef(*new Rect); } … … 86 86 }; 87 87 88 class Quad : public RectBase, public RefCounted<Quad> {88 class Quad final : public RectBase, public RefCounted<Quad> { 89 89 public: 90 90 static Ref<Quad> create() { return adoptRef(*new Quad); } -
trunk/Source/WebCore/css/StyleMedia.h
r185238 r205093 36 36 class Frame; 37 37 38 class StyleMedia : public RefCounted<StyleMedia>, public DOMWindowProperty {38 class StyleMedia final : public RefCounted<StyleMedia>, public DOMWindowProperty { 39 39 public: 40 40 static Ref<StyleMedia> create(Frame* frame) { return adoptRef(*new StyleMedia(frame)); } -
trunk/Source/WebCore/css/StyleProperties.h
r204052 r205093 155 155 }; 156 156 157 class ImmutableStyleProperties : public StyleProperties {157 class ImmutableStyleProperties final : public StyleProperties { 158 158 public: 159 159 WEBCORE_EXPORT ~ImmutableStyleProperties(); … … 185 185 } 186 186 187 class MutableStyleProperties : public StyleProperties {187 class MutableStyleProperties final : public StyleProperties { 188 188 public: 189 189 WEBCORE_EXPORT static Ref<MutableStyleProperties> create(CSSParserMode = CSSQuirksMode); -
trunk/Source/WebCore/css/StyleRule.h
r201318 r205093 100 100 }; 101 101 102 class StyleRule : public StyleRuleBase {102 class StyleRule final : public StyleRuleBase { 103 103 WTF_MAKE_FAST_ALLOCATED; 104 104 public: … … 134 134 }; 135 135 136 class StyleRuleFontFace : public StyleRuleBase {136 class StyleRuleFontFace final : public StyleRuleBase { 137 137 public: 138 138 static Ref<StyleRuleFontFace> create(Ref<StyleProperties>&& properties) { return adoptRef(*new StyleRuleFontFace(WTFMove(properties))); } … … 153 153 }; 154 154 155 class StyleRulePage : public StyleRuleBase {155 class StyleRulePage final : public StyleRuleBase { 156 156 public: 157 157 static Ref<StyleRulePage> create(Ref<StyleProperties>&& properties) { return adoptRef(*new StyleRulePage(WTFMove(properties))); } … … 191 191 }; 192 192 193 class StyleRuleMedia : public StyleRuleGroup {193 class StyleRuleMedia final : public StyleRuleGroup { 194 194 public: 195 195 static Ref<StyleRuleMedia> create(Ref<MediaQuerySet>&& media, Vector<RefPtr<StyleRuleBase>>& adoptRules) … … 209 209 }; 210 210 211 class StyleRuleSupports : public StyleRuleGroup {211 class StyleRuleSupports final : public StyleRuleGroup { 212 212 public: 213 213 static Ref<StyleRuleSupports> create(const String& conditionText, bool conditionIsSupported, Vector<RefPtr<StyleRuleBase>>& adoptRules) … … 228 228 }; 229 229 230 class StyleRuleRegion : public StyleRuleGroup {230 class StyleRuleRegion final : public StyleRuleGroup { 231 231 public: 232 232 static Ref<StyleRuleRegion> create(Vector<std::unique_ptr<CSSParserSelector>>* selectors, Vector<RefPtr<StyleRuleBase>>& adoptRules) … … 247 247 248 248 #if ENABLE(CSS_DEVICE_ADAPTATION) 249 class StyleRuleViewport : public StyleRuleBase {249 class StyleRuleViewport final : public StyleRuleBase { 250 250 public: 251 251 static Ref<StyleRuleViewport> create(Ref<StyleProperties>&& properties) { return adoptRef(*new StyleRuleViewport(WTFMove(properties))); } -
trunk/Source/WebCore/css/StyleRuleImport.h
r201318 r205093 34 34 class StyleSheetContents; 35 35 36 class StyleRuleImport : public StyleRuleBase {36 class StyleRuleImport final : public StyleRuleBase { 37 37 WTF_MAKE_FAST_ALLOCATED; 38 38 public: … … 56 56 // NOTE: We put the CachedStyleSheetClient in a member instead of inheriting from it 57 57 // to avoid adding a vptr to StyleRuleImport. 58 class ImportedStyleSheetClient: public CachedStyleSheetClient {58 class ImportedStyleSheetClient final : public CachedStyleSheetClient { 59 59 public: 60 60 ImportedStyleSheetClient(StyleRuleImport* ownerRule) : m_ownerRule(ownerRule) { } -
trunk/Source/WebCore/css/StyleSheetContents.h
r201318 r205093 43 43 class StyleRuleImport; 44 44 45 class StyleSheetContents : public RefCounted<StyleSheetContents> {45 class StyleSheetContents final : public RefCounted<StyleSheetContents> { 46 46 public: 47 47 static Ref<StyleSheetContents> create(const CSSParserContext& context = CSSParserContext(CSSStrictMode)) -
trunk/Source/WebCore/css/StyleSheetList.h
r204717 r205093 31 31 class StyleSheet; 32 32 33 class StyleSheetList : public RefCounted<StyleSheetList> {33 class StyleSheetList final : public RefCounted<StyleSheetList> { 34 34 public: 35 35 static Ref<StyleSheetList> create(Document* document) { return adoptRef(*new StyleSheetList(document)); } -
trunk/Source/WebCore/css/ViewportStyleResolver.h
r185238 r205093 45 45 class StyleRuleViewport; 46 46 47 class ViewportStyleResolver : public RefCounted<ViewportStyleResolver> {47 class ViewportStyleResolver final : public RefCounted<ViewportStyleResolver> { 48 48 public: 49 49 static Ref<ViewportStyleResolver> create(Document* document) -
trunk/Source/WebCore/css/WebKitCSSFilterValue.h
r204466 r205093 31 31 namespace WebCore { 32 32 33 class WebKitCSSFilterValue : public CSSValueList {33 class WebKitCSSFilterValue final : public CSSValueList { 34 34 public: 35 35 // NOTE: these have to match the values in the IDL -
trunk/Source/WebCore/css/WebKitCSSRegionRule.h
r197563 r205093 44 44 static Ref<WebKitCSSRegionRule> create(StyleRuleRegion& rule, CSSStyleSheet* sheet) { return adoptRef(*new WebKitCSSRegionRule(rule, sheet)); } 45 45 46 CSSRule::Type type() const override{ return WEBKIT_REGION_RULE; }47 String cssText() const override;46 CSSRule::Type type() const final { return WEBKIT_REGION_RULE; } 47 String cssText() const final; 48 48 49 49 private: -
trunk/Source/WebCore/css/WebKitCSSTransformValue.h
r204466 r205093 30 30 namespace WebCore { 31 31 32 class WebKitCSSTransformValue : public CSSValueList {32 class WebKitCSSTransformValue final : public CSSValueList { 33 33 public: 34 34 // NOTE: these have to match the values in the IDL -
trunk/Source/WebCore/css/WebKitCSSViewportRule.h
r197563 r205093 50 50 virtual ~WebKitCSSViewportRule(); 51 51 52 String cssText() const override;53 void reattach(StyleRuleBase&) override;52 String cssText() const final; 53 void reattach(StyleRuleBase&) final; 54 54 55 55 CSSStyleDeclaration& style(); … … 58 58 WebKitCSSViewportRule(StyleRuleViewport&, CSSStyleSheet*); 59 59 60 CSSRule::Type type() const override{ return WEBKIT_VIEWPORT_RULE; }60 CSSRule::Type type() const final { return WEBKIT_VIEWPORT_RULE; } 61 61 62 62 Ref<StyleRuleViewport> m_viewportRule;
Note:
See TracChangeset
for help on using the changeset viewer.