| Index: third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvas.cpp
|
| diff --git a/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvas.cpp b/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvas.cpp
|
| index d63ae1124067c94e07df2085f91ec87235ee7665..66b716d9013b151670773d485158662f02e59fac 100644
|
| --- a/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvas.cpp
|
| +++ b/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvas.cpp
|
| @@ -65,13 +65,13 @@ OffscreenCanvasRenderingContext2D* OffscreenCanvas::getContext(const String& id,
|
| return static_cast<OffscreenCanvasRenderingContext2D*>(m_context.get());
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<ImageBitmap> OffscreenCanvas::transferToImageBitmap(ExceptionState& exceptionState)
|
| +RawPtr<ImageBitmap> OffscreenCanvas::transferToImageBitmap(ExceptionState& exceptionState)
|
| {
|
| if (!m_context) {
|
| exceptionState.throwDOMException(InvalidStateError, "Cannot transfer an ImageBitmap from an OffscreenCanvas with no context");
|
| return nullptr;
|
| }
|
| - RefPtrWillBeRawPtr<ImageBitmap> image = m_context->transferToImageBitmap(exceptionState);
|
| + RawPtr<ImageBitmap> image = m_context->transferToImageBitmap(exceptionState);
|
| if (!image) {
|
| // Undocumented exception (not in spec)
|
| exceptionState.throwDOMException(V8GeneralError, "Out of memory");
|
|
|