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

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, 9 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 e0900ea8e487e22348b503a3b3f4fe6250fc47f9..8b0bab4fa2f65c8842a23e1a5517b3dc40ef23b7 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<StylePath> stylePath)
+RawPtr<CSSPathValue> CSSPathValue::create(PassRefPtr<StylePath> stylePath)
{
- return adoptRefWillBeNoop(new CSSPathValue(stylePath));
+ return new CSSPathValue(stylePath);
}
-PassRefPtrWillBeRawPtr<CSSPathValue> CSSPathValue::create(PassOwnPtr<SVGPathByteStream> pathByteStream)
+RawPtr<CSSPathValue> CSSPathValue::create(PassOwnPtr<SVGPathByteStream> pathByteStream)
{
return CSSPathValue::create(StylePath::create(pathByteStream));
}
@@ -28,7 +28,7 @@ CSSPathValue::CSSPathValue(PassRefPtr<StylePath> stylePath)
namespace {
-PassRefPtrWillBeRawPtr<CSSPathValue> createPathValue()
+RawPtr<CSSPathValue> createPathValue()
{
OwnPtr<SVGPathByteStream> pathByteStream = SVGPathByteStream::create();
// Need to be registered as LSan ignored, as it will be reachable and
@@ -41,7 +41,7 @@ PassRefPtrWillBeRawPtr<CSSPathValue> createPathValue()
CSSPathValue* CSSPathValue::emptyPathValue()
{
- DEFINE_STATIC_LOCAL(RefPtrWillBePersistent<CSSPathValue>, empty, (createPathValue()));
+ DEFINE_STATIC_LOCAL(Persistent<CSSPathValue>, empty, (createPathValue()));
return empty.get();
}
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSPathValue.h ('k') | third_party/WebKit/Source/core/css/CSSPrimitiveValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698