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

Unified Diff: third_party/WebKit/Source/core/css/MediaValuesCached.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/MediaValuesCached.cpp
diff --git a/third_party/WebKit/Source/core/css/MediaValuesCached.cpp b/third_party/WebKit/Source/core/css/MediaValuesCached.cpp
index e101a243685509de0dd4e2fbbf2fcb40b3fde802..b935d76626bc5a65220dc2e88ae701d9a90943da 100644
--- a/third_party/WebKit/Source/core/css/MediaValuesCached.cpp
+++ b/third_party/WebKit/Source/core/css/MediaValuesCached.cpp
@@ -42,14 +42,14 @@ MediaValuesCached::MediaValuesCachedData::MediaValuesCachedData(Document& docume
}
}
-PassRefPtrWillBeRawPtr<MediaValuesCached> MediaValuesCached::create()
+RawPtr<MediaValuesCached> MediaValuesCached::create()
{
- return adoptRefWillBeNoop(new MediaValuesCached());
+ return new MediaValuesCached();
}
-PassRefPtrWillBeRawPtr<MediaValuesCached> MediaValuesCached::create(const MediaValuesCachedData& data)
+RawPtr<MediaValuesCached> MediaValuesCached::create(const MediaValuesCachedData& data)
{
- return adoptRefWillBeNoop(new MediaValuesCached(data));
+ return new MediaValuesCached(data);
}
MediaValuesCached::MediaValuesCached()
@@ -61,9 +61,9 @@ MediaValuesCached::MediaValuesCached(const MediaValuesCachedData& data)
{
}
-PassRefPtrWillBeRawPtr<MediaValues> MediaValuesCached::copy() const
+RawPtr<MediaValues> MediaValuesCached::copy() const
{
- return adoptRefWillBeNoop(new MediaValuesCached(m_data));
+ return new MediaValuesCached(m_data);
}
bool MediaValuesCached::computeLength(double value, CSSPrimitiveValue::UnitType type, int& result) const
« no previous file with comments | « third_party/WebKit/Source/core/css/MediaValuesCached.h ('k') | third_party/WebKit/Source/core/css/MediaValuesDynamic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698