diff options
Diffstat (limited to 'Source/WebCore/platform/graphics/qt/StillImageQt.h')
-rw-r--r-- | Source/WebCore/platform/graphics/qt/StillImageQt.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/WebCore/platform/graphics/qt/StillImageQt.h b/Source/WebCore/platform/graphics/qt/StillImageQt.h index e35e56609..b9079727e 100644 --- a/Source/WebCore/platform/graphics/qt/StillImageQt.h +++ b/Source/WebCore/platform/graphics/qt/StillImageQt.h @@ -34,17 +34,17 @@ namespace WebCore { class StillImage final : public Image { public: - static PassRefPtr<StillImage> create(const QPixmap& pixmap) + static RefPtr<StillImage> create(const QPixmap& pixmap) { return adoptRef(new StillImage(pixmap)); } - static PassRefPtr<StillImage> createForRendering(const QPixmap* pixmap) + static RefPtr<StillImage> createForRendering(const QPixmap* pixmap) { return adoptRef(new StillImage(pixmap)); } - static PassRefPtr<StillImage> create(QPixmap&& pixmap) + static RefPtr<StillImage> create(QPixmap&& pixmap) { return adoptRef(new StillImage(WTFMove(pixmap))); } |