diff options
Diffstat (limited to 'Source/WebCore/html/canvas/CanvasProxy.h')
-rw-r--r-- | Source/WebCore/html/canvas/CanvasProxy.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Source/WebCore/html/canvas/CanvasProxy.h b/Source/WebCore/html/canvas/CanvasProxy.h index 2591f0eb0..0dcfb1fb9 100644 --- a/Source/WebCore/html/canvas/CanvasProxy.h +++ b/Source/WebCore/html/canvas/CanvasProxy.h @@ -24,17 +24,15 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef CanvasProxy_h -#define CanvasProxy_h +#pragma once -#include <wtf/PassRefPtr.h> #include <wtf/RefCounted.h> namespace WebCore { class CanvasProxy : public RefCounted<CanvasProxy> { public: - static PassRefPtr<CanvasProxy> create(); + static Ref<CanvasProxy> create(); virtual ~CanvasProxy(); @@ -43,5 +41,3 @@ private: }; } // namespace WebCore - -#endif // CanvasProxy_h |