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

Unified Diff: third_party/WebKit/Source/core/style/StyleFetchedImage.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/StyleFetchedImage.h
diff --git a/third_party/WebKit/Source/core/style/StyleFetchedImage.h b/third_party/WebKit/Source/core/style/StyleFetchedImage.h
index 7150261c8a4f977b8d3fa5f61f703ee42fabf51d..9846d0ea715ef97a814f4274b733803d7d70ab52 100644
--- a/third_party/WebKit/Source/core/style/StyleFetchedImage.h
+++ b/third_party/WebKit/Source/core/style/StyleFetchedImage.h
@@ -33,19 +33,18 @@ class Document;
class ImageResource;
class StyleFetchedImage final : public StyleImage, private ImageResourceClient {
- USING_FAST_MALLOC_WILL_BE_REMOVED(StyleFetchedImage);
- WILL_BE_USING_PRE_FINALIZER(StyleFetchedImage, dispose);
+ USING_PRE_FINALIZER(StyleFetchedImage, dispose);
public:
- static PassRefPtrWillBeRawPtr<StyleFetchedImage> create(ImageResource* image, Document* document, const KURL& url)
+ static RawPtr<StyleFetchedImage> create(ImageResource* image, Document* document, const KURL& url)
{
- return adoptRefWillBeNoop(new StyleFetchedImage(image, document, url));
+ return (new StyleFetchedImage(image, document, url));
}
~StyleFetchedImage() override;
WrappedImagePtr data() const override;
- PassRefPtrWillBeRawPtr<CSSValue> cssValue() const override;
- PassRefPtrWillBeRawPtr<CSSValue> computedCSSValue() const override;
+ RawPtr<CSSValue> cssValue() const override;
+ RawPtr<CSSValue> computedCSSValue() const override;
bool canRender() const override;
bool isLoaded() const override;
@@ -69,8 +68,8 @@ private:
void dispose();
- RefPtrWillBeMember<ImageResource> m_image;
- RawPtrWillBeMember<Document> m_document;
+ Member<ImageResource> m_image;
+ Member<Document> m_document;
const KURL m_url;
};

Powered by Google App Engine
This is Rietveld 408576698