| 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 e4b7f180c8b75c337d9513305d663f4d6d2a255d..d4557518c6e35bbec2d559aa6e265e5ab3471a57 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSPathValue.cpp
|
| +++ b/third_party/WebKit/Source/core/css/CSSPathValue.cpp
|
| @@ -23,22 +23,9 @@
|
| buildPathFromByteStream(*m_pathByteStream, m_path);
|
| }
|
|
|
| -namespace {
|
| -
|
| -PassRefPtrWillBeRawPtr<CSSPathValue> createPathValue()
|
| -{
|
| - OwnPtr<SVGPathByteStream> pathByteStream = SVGPathByteStream::create();
|
| - // Need to be registered as LSan ignored, as it will be reachable and
|
| - // separately referred to by emptyPathValue() callers.
|
| - LEAK_SANITIZER_IGNORE_OBJECT(pathByteStream.get());
|
| - return CSSPathValue::create(pathByteStream.release());
|
| -}
|
| -
|
| -}
|
| -
|
| CSSPathValue* CSSPathValue::emptyPathValue()
|
| {
|
| - DEFINE_STATIC_LOCAL(RefPtrWillBePersistent<CSSPathValue>, empty, (createPathValue()));
|
| + DEFINE_STATIC_LOCAL(RefPtrWillBePersistent<CSSPathValue>, empty, (CSSPathValue::create(SVGPathByteStream::create())));
|
| return empty.get();
|
| }
|
|
|
|
|