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

Unified Diff: third_party/WebKit/Source/core/css/MediaValuesDynamic.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/MediaValuesDynamic.cpp
diff --git a/third_party/WebKit/Source/core/css/MediaValuesDynamic.cpp b/third_party/WebKit/Source/core/css/MediaValuesDynamic.cpp
index 468cf5576617c365b0f33447b3d2380ce139ba2c..30665a4ff41b8ae60a0a028a6ec28c99cb3c23be 100644
--- a/third_party/WebKit/Source/core/css/MediaValuesDynamic.cpp
+++ b/third_party/WebKit/Source/core/css/MediaValuesDynamic.cpp
@@ -13,16 +13,16 @@
namespace blink {
-PassRefPtrWillBeRawPtr<MediaValues> MediaValuesDynamic::create(Document& document)
+RawPtr<MediaValues> MediaValuesDynamic::create(Document& document)
{
return MediaValuesDynamic::create(frameFrom(document));
}
-PassRefPtrWillBeRawPtr<MediaValues> MediaValuesDynamic::create(LocalFrame* frame)
+RawPtr<MediaValues> MediaValuesDynamic::create(LocalFrame* frame)
{
if (!frame || !frame->view() || !frame->document() || !frame->document()->layoutView())
return MediaValuesCached::create();
- return adoptRefWillBeNoop(new MediaValuesDynamic(frame));
+ return (new MediaValuesDynamic(frame));
}
MediaValuesDynamic::MediaValuesDynamic(LocalFrame* frame)
@@ -31,9 +31,9 @@ MediaValuesDynamic::MediaValuesDynamic(LocalFrame* frame)
ASSERT(m_frame);
}
-PassRefPtrWillBeRawPtr<MediaValues> MediaValuesDynamic::copy() const
+RawPtr<MediaValues> MediaValuesDynamic::copy() const
{
- return adoptRefWillBeNoop(new MediaValuesDynamic(m_frame));
+ return (new MediaValuesDynamic(m_frame));
}
bool MediaValuesDynamic::computeLength(double value, CSSPrimitiveValue::UnitType type, int& result) const

Powered by Google App Engine
This is Rietveld 408576698