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

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

Issue 1852663002: Oilpan: Remove WillBe types (part 9) (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/StyleGeneratedImage.h
diff --git a/third_party/WebKit/Source/core/style/StyleGeneratedImage.h b/third_party/WebKit/Source/core/style/StyleGeneratedImage.h
index 4f7fc16c8b78a03931c324120722bf16d3fb0b87..3c8ceeea3c8a5723e47f63cc4d77c96d80c5ec00 100644
--- a/third_party/WebKit/Source/core/style/StyleGeneratedImage.h
+++ b/third_party/WebKit/Source/core/style/StyleGeneratedImage.h
@@ -34,15 +34,15 @@ class CSSImageGeneratorValue;
class CORE_EXPORT StyleGeneratedImage final : public StyleImage {
public:
- static PassRefPtrWillBeRawPtr<StyleGeneratedImage> create(const CSSImageGeneratorValue& value)
+ static RawPtr<StyleGeneratedImage> create(const CSSImageGeneratorValue& value)
{
- return adoptRefWillBeNoop(new StyleGeneratedImage(value));
+ return new StyleGeneratedImage(value);
}
WrappedImagePtr data() const override { return m_imageGeneratorValue.get(); }
- PassRefPtrWillBeRawPtr<CSSValue> cssValue() const override;
- PassRefPtrWillBeRawPtr<CSSValue> computedCSSValue() const override;
+ RawPtr<CSSValue> cssValue() const override;
+ RawPtr<CSSValue> computedCSSValue() const override;
LayoutSize imageSize(const LayoutObject&, float multiplier, const LayoutSize& defaultObjectSize) const override;
bool imageHasRelativeSize() const override { return !m_fixedSize; }
@@ -57,9 +57,9 @@ public:
private:
StyleGeneratedImage(const CSSImageGeneratorValue&);
- // TODO(sashab): Replace this with <const CSSImageGeneratorValue> once RefPtrWillBeMember<>
+ // TODO(sashab): Replace this with <const CSSImageGeneratorValue> once Member<>
// supports const types.
- RefPtrWillBeMember<CSSImageGeneratorValue> m_imageGeneratorValue;
+ Member<CSSImageGeneratorValue> m_imageGeneratorValue;
const bool m_fixedSize;
};
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleFilterData.h ('k') | third_party/WebKit/Source/core/style/StyleGeneratedImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698