| Index: third_party/WebKit/Source/core/css/CSSPathValue.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/CSSPathValue.cpp b/third_party/WebKit/Source/core/css/CSSPathValue.cpp
|
| index 552e7968710835d8c48e04f5acb48e91b44f74df..b6f9adf1647b60b2bb3f666e5c06e7a38e9084f1 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSPathValue.cpp
|
| +++ b/third_party/WebKit/Source/core/css/CSSPathValue.cpp
|
| @@ -9,12 +9,12 @@
|
|
|
| namespace blink {
|
|
|
| -PassRefPtrWillBeRawPtr<CSSPathValue> CSSPathValue::create(PassRefPtr<SVGPathByteStream> pathByteStream, StylePath* cachedPath)
|
| +RawPtr<CSSPathValue> CSSPathValue::create(PassRefPtr<SVGPathByteStream> pathByteStream, StylePath* cachedPath)
|
| {
|
| - return adoptRefWillBeNoop(new CSSPathValue(pathByteStream, cachedPath));
|
| + return (new CSSPathValue(pathByteStream, cachedPath));
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<CSSPathValue> CSSPathValue::create(const String& pathString)
|
| +RawPtr<CSSPathValue> CSSPathValue::create(const String& pathString)
|
| {
|
| RefPtr<SVGPathByteStream> byteStream = SVGPathByteStream::create();
|
| buildByteStreamFromString(pathString, *byteStream);
|
| @@ -35,7 +35,7 @@ CSSPathValue::~CSSPathValue()
|
|
|
| namespace {
|
|
|
| -PassRefPtrWillBeRawPtr<CSSPathValue> createPathValue()
|
| +RawPtr<CSSPathValue> createPathValue()
|
| {
|
| RefPtr<SVGPathByteStream> pathByteStream = SVGPathByteStream::create();
|
| // Need to be registered as LSan ignored, as it will be reachable and
|
| @@ -48,7 +48,7 @@ PassRefPtrWillBeRawPtr<CSSPathValue> createPathValue()
|
|
|
| CSSPathValue* CSSPathValue::emptyPathValue()
|
| {
|
| - DEFINE_STATIC_LOCAL(RefPtrWillBePersistent<CSSPathValue>, empty, (createPathValue()));
|
| + DEFINE_STATIC_LOCAL(Persistent<CSSPathValue>, empty, (createPathValue()));
|
| return empty.get();
|
| }
|
|
|
|
|