| Index: third_party/WebKit/Source/core/html/ImageDocument.h
|
| diff --git a/third_party/WebKit/Source/core/html/ImageDocument.h b/third_party/WebKit/Source/core/html/ImageDocument.h
|
| index da28cd1c1ba524eb5c0e5ef32fcb17b227e8946f..b42aaec860f936bc39250d88810fa0ff725948e7 100644
|
| --- a/third_party/WebKit/Source/core/html/ImageDocument.h
|
| +++ b/third_party/WebKit/Source/core/html/ImageDocument.h
|
| @@ -35,9 +35,9 @@ class ImageResource;
|
|
|
| class CORE_EXPORT ImageDocument final : public HTMLDocument {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<ImageDocument> create(const DocumentInit& initializer = DocumentInit())
|
| + static RawPtr<ImageDocument> create(const DocumentInit& initializer = DocumentInit())
|
| {
|
| - return adoptRefWillBeNoop(new ImageDocument(initializer));
|
| + return new ImageDocument(initializer);
|
| }
|
|
|
| enum ScaleType {
|
| @@ -57,7 +57,7 @@ public:
|
| private:
|
| explicit ImageDocument(const DocumentInit&);
|
|
|
| - PassRefPtrWillBeRawPtr<DocumentParser> createParser() override;
|
| + RawPtr<DocumentParser> createParser() override;
|
| #if !ENABLE(OILPAN)
|
| void dispose() override;
|
| #endif
|
| @@ -71,7 +71,7 @@ private:
|
| bool shouldShrinkToFit() const;
|
| float scale() const;
|
|
|
| - RefPtrWillBeMember<HTMLImageElement> m_imageElement;
|
| + Member<HTMLImageElement> m_imageElement;
|
|
|
| // Whether enough of the image has been loaded to determine its size
|
| bool m_imageSizeIsKnown;
|
|
|