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

Unified Diff: third_party/WebKit/Source/core/html/ImageDocument.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/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;
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLViewSourceDocument.cpp ('k') | third_party/WebKit/Source/core/html/ImageDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698