Index: Source/bindings/v8/SerializedScriptValue.cpp |
diff --git a/Source/bindings/v8/SerializedScriptValue.cpp b/Source/bindings/v8/SerializedScriptValue.cpp |
index aadb4c7bdb8ba33377a1547bd4bec72bae351588..d292d66c29773cf4d5418d30d5e607dce8c1ba3f 100644 |
--- a/Source/bindings/v8/SerializedScriptValue.cpp |
+++ b/Source/bindings/v8/SerializedScriptValue.cpp |
@@ -1935,7 +1935,7 @@ private: |
return false; |
if (m_position + pixelDataLength > m_length) |
return false; |
- RefPtr<ImageData> imageData = ImageData::create(IntSize(width, height)); |
+ RefPtrWillBeRawPtr<ImageData> imageData = ImageData::create(IntSize(width, height)); |
Uint8ClampedArray* pixelArray = imageData->data(); |
ASSERT(pixelArray); |
ASSERT(pixelArray->length() >= pixelDataLength); |