Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Unified Diff: third_party/WebKit/Source/core/css/cssom/MatrixTransformComponent.cpp

Issue 1858753003: Remove RawPtr from core/css (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/cssom/MatrixTransformComponent.cpp
diff --git a/third_party/WebKit/Source/core/css/cssom/MatrixTransformComponent.cpp b/third_party/WebKit/Source/core/css/cssom/MatrixTransformComponent.cpp
index 1410ece5b6b219ea5155459dc9c435e43e0765af..a2d03d66342ecb32a1a0b9e0b5720750cbdcbd1d 100644
--- a/third_party/WebKit/Source/core/css/cssom/MatrixTransformComponent.cpp
+++ b/third_party/WebKit/Source/core/css/cssom/MatrixTransformComponent.cpp
@@ -11,9 +11,9 @@
namespace blink {
-RawPtr<CSSFunctionValue> MatrixTransformComponent::toCSSValue() const
+CSSFunctionValue* MatrixTransformComponent::toCSSValue() const
{
- RawPtr<CSSFunctionValue> result = CSSFunctionValue::create(m_is2D ? CSSValueMatrix : CSSValueMatrix3d);
+ CSSFunctionValue* result = CSSFunctionValue::create(m_is2D ? CSSValueMatrix : CSSValueMatrix3d);
if (m_is2D) {
double values[6] = {a(), b(), c(), d(), e(), f()};
@@ -28,7 +28,7 @@ RawPtr<CSSFunctionValue> MatrixTransformComponent::toCSSValue() const
}
}
- return result.release();
+ return result;
}
MatrixTransformComponent* MatrixTransformComponent::perspective(double length)

Powered by Google App Engine
This is Rietveld 408576698