Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Unified Diff: third_party/WebKit/Source/core/css/CSSPathValue.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}

Powered by Google App Engine
This is Rietveld 408576698