Index: Source/core/html/canvas/WebGLRenderingContextBase.cpp |
diff --git a/Source/core/html/canvas/WebGLRenderingContextBase.cpp b/Source/core/html/canvas/WebGLRenderingContextBase.cpp |
index 7e6865505722144c225157040259e813dac9dc6a..c9aafa477c4e86ae2ba9c356fd432d9d5f5d061d 100644 |
--- a/Source/core/html/canvas/WebGLRenderingContextBase.cpp |
+++ b/Source/core/html/canvas/WebGLRenderingContextBase.cpp |
@@ -861,7 +861,7 @@ void WebGLRenderingContextBase::paintRenderingResultsToCanvas() |
m_drawingBuffer->bind(); |
} |
-PassRefPtr<ImageData> WebGLRenderingContextBase::paintRenderingResultsToImageData() |
+PassRefPtrWillBeRawPtr<ImageData> WebGLRenderingContextBase::paintRenderingResultsToImageData() |
{ |
if (isContextLost()) |
return nullptr; |
@@ -3458,7 +3458,7 @@ void WebGLRenderingContextBase::texImage2D(GLenum target, GLint level, GLenum in |
} |
} |
- RefPtr<ImageData> imageData = canvas->getImageData(); |
+ RefPtrWillBeRawPtr<ImageData> imageData = canvas->getImageData(); |
if (imageData) |
texImage2D(target, level, internalformat, format, type, imageData.get(), exceptionState); |
else |
@@ -3677,7 +3677,7 @@ void WebGLRenderingContextBase::texSubImage2D(GLenum target, GLint level, GLint |
|| !validateTexFunc("texSubImage2D", TexSubImage2D, SourceHTMLCanvasElement, target, level, format, canvas->width(), canvas->height(), 0, format, type, xoffset, yoffset)) |
return; |
- RefPtr<ImageData> imageData = canvas->getImageData(); |
+ RefPtrWillBeRawPtr<ImageData> imageData = canvas->getImageData(); |
if (imageData) |
texSubImage2D(target, level, xoffset, yoffset, format, type, imageData.get(), exceptionState); |
else |