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

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, 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/style/StylePendingImage.h
diff --git a/third_party/WebKit/Source/core/style/StylePendingImage.h b/third_party/WebKit/Source/core/style/StylePendingImage.h
index 0cee9dbd4f46fff232e5b0ae6ea08eccdca1b5ec..0412f63527797c0d5b6ef09c705f634b2dfde31d 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;
@@ -86,9 +86,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());
« no previous file with comments | « third_party/WebKit/Source/core/style/StylePath.cpp ('k') | third_party/WebKit/Source/core/style/StyleRareInheritedData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698