Index: third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.cpp |
diff --git a/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.cpp b/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.cpp |
index b758a6cf9bbdefdea70c38d7834f979c448873cb..7f1dd460ffab4ed53c80a69bf81513702d420c4a 100644 |
--- a/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.cpp |
+++ b/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.cpp |
@@ -46,7 +46,7 @@ |
return DOMMatrix::create(this)->scaleNonUniformSelf(sx, sy, sz, ox, oy, oz); |
} |
-DOMFloat32Array* DOMMatrixReadOnly::toFloat32Array() const |
+PassRefPtr<DOMFloat32Array> DOMMatrixReadOnly::toFloat32Array() const |
{ |
float array[] = { |
static_cast<float>(m_matrix->m11()), static_cast<float>(m_matrix->m12()), static_cast<float>(m_matrix->m13()), static_cast<float>(m_matrix->m14()), |
@@ -58,7 +58,7 @@ |
return DOMFloat32Array::create(array, 16); |
} |
-DOMFloat64Array* DOMMatrixReadOnly::toFloat64Array() const |
+PassRefPtr<DOMFloat64Array> DOMMatrixReadOnly::toFloat64Array() const |
{ |
double array[] = { |
m_matrix->m11(), m_matrix->m12(), m_matrix->m13(), m_matrix->m14(), |