Ignore:
Timestamp:
Nov 4, 2013, 4:21:51 AM (12 years ago)
Author:
[email protected]
Message:

Make more CSSValue subclass constructors return PassRef.
<https://webkit.org/b/123731>

Make the constructor helpers for the following classes return
PassRef instead of PassRefPtr:

  • CSSFontValue
  • CSSImageSetValue
  • CSSUnicodeRangeValue
  • WebKitCSSArrayFunctionValue
  • WebKitCSSFilterValue
  • WebKitCSSMatFunctionValue
  • WebKitCSSMixFunctionValue
  • WebKitCSSShaderValue
  • WebKitCSSTransformValue

Reviewed by Antti Koivisto.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/css/CSSImageSetValue.h

    r157769 r158567  
    4141public:
    4242
    43     static PassRefPtr<CSSImageSetValue> create()
     43    static PassRef<CSSImageSetValue> create()
    4444    {
    45         return adoptRef(new CSSImageSetValue());
     45        return adoptRef(*new CSSImageSetValue());
    4646    }
    4747    ~CSSImageSetValue();
Note: See TracChangeset for help on using the changeset viewer.