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

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, 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/html/ImageDocument.h
diff --git a/third_party/WebKit/Source/core/html/ImageDocument.h b/third_party/WebKit/Source/core/html/ImageDocument.h
index 0d7c411f3e61721947485b5609f36423689722b3..68075a9463275a61b73146039a012edd63089900 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
@@ -73,7 +73,7 @@ private:
String debugName() const override { return "ImageDocument"; }
- RefPtrWillBeMember<HTMLImageElement> m_imageElement;
+ Member<HTMLImageElement> m_imageElement;
// Whether enough of the image has been loaded to determine its size
bool m_imageSizeIsKnown;

Powered by Google App Engine
This is Rietveld 408576698