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

Unified Diff: third_party/WebKit/Source/core/style/StylePendingImage.h

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/style/StylePendingImage.h
diff --git a/third_party/WebKit/Source/core/style/StylePendingImage.h b/third_party/WebKit/Source/core/style/StylePendingImage.h
index 58da3b98ed886d74b49ce03e40d0007dafa0a57e..1f76fa11c4378b8748fa962304f87508cdd18827 100644
--- a/third_party/WebKit/Source/core/style/StylePendingImage.h
+++ b/third_party/WebKit/Source/core/style/StylePendingImage.h
@@ -41,16 +41,16 @@ namespace blink {
class StylePendingImage final : public StyleImage {
public:
- static PassRefPtrWillBeRawPtr<StylePendingImage> create(const CSSValue& value)
+ static RawPtr<StylePendingImage> create(const CSSValue& value)
{
- return adoptRefWillBeNoop(new StylePendingImage(value));
+ return (new StylePendingImage(value));
}
WrappedImagePtr data() const override { return m_value.get(); }
- PassRefPtrWillBeRawPtr<CSSValue> cssValue() const override { return m_value; }
+ RawPtr<CSSValue> cssValue() const override { return m_value; }
- PassRefPtrWillBeRawPtr<CSSValue> computedCSSValue() const override
+ RawPtr<CSSValue> computedCSSValue() const override
{
ASSERT_NOT_REACHED();
return nullptr;
@@ -87,9 +87,9 @@ private:
m_isPendingImage = true;
}
- // TODO(sashab): Replace this with <const CSSValue> once RefPtrWillBeMember<>
+ // TODO(sashab): Replace this with <const CSSValue> once Member<>
// supports const types.
- RefPtrWillBeMember<CSSValue> m_value;
+ Member<CSSValue> m_value;
};
DEFINE_STYLE_IMAGE_TYPE_CASTS(StylePendingImage, isPendingImage());

Powered by Google App Engine
This is Rietveld 408576698