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

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, 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/MediaValuesCached.cpp
diff --git a/third_party/WebKit/Source/core/css/MediaValuesCached.cpp b/third_party/WebKit/Source/core/css/MediaValuesCached.cpp
index 3fd8c563bfb65ecd2bb7281530b721d48d7d0e59..6147e1dd379148aa67023ffa4e0db890099bacab 100644
--- a/third_party/WebKit/Source/core/css/MediaValuesCached.cpp
+++ b/third_party/WebKit/Source/core/css/MediaValuesCached.cpp
@@ -11,29 +11,29 @@
namespace blink {
-PassRefPtrWillBeRawPtr<MediaValuesCached> MediaValuesCached::create()
+RawPtr<MediaValuesCached> MediaValuesCached::create()
{
- return adoptRefWillBeNoop(new MediaValuesCached());
+ return (new MediaValuesCached());
}
-PassRefPtrWillBeRawPtr<MediaValuesCached> MediaValuesCached::create(MediaValuesCachedData& data)
+RawPtr<MediaValuesCached> MediaValuesCached::create(MediaValuesCachedData& data)
{
- return adoptRefWillBeNoop(new MediaValuesCached(data));
+ return (new MediaValuesCached(data));
}
-PassRefPtrWillBeRawPtr<MediaValuesCached> MediaValuesCached::create(Document& document)
+RawPtr<MediaValuesCached> MediaValuesCached::create(Document& document)
{
return MediaValuesCached::create(frameFrom(document));
}
-PassRefPtrWillBeRawPtr<MediaValuesCached> MediaValuesCached::create(LocalFrame* frame)
+RawPtr<MediaValuesCached> MediaValuesCached::create(LocalFrame* frame)
{
// FIXME - Added an assert here so we can better understand when a frame is present without its view().
ASSERT(!frame || frame->view());
if (!frame || !frame->view())
- return adoptRefWillBeNoop(new MediaValuesCached());
+ return (new MediaValuesCached());
ASSERT(frame->document() && frame->document()->layoutView());
- return adoptRefWillBeNoop(new MediaValuesCached(frame));
+ return (new MediaValuesCached(frame));
}
MediaValuesCached::MediaValuesCached()
@@ -71,9 +71,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

Powered by Google App Engine
This is Rietveld 408576698