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

Unified Diff: third_party/WebKit/Source/core/css/cssom/TranslationTransformComponent.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/TranslationTransformComponent.cpp
diff --git a/third_party/WebKit/Source/core/css/cssom/TranslationTransformComponent.cpp b/third_party/WebKit/Source/core/css/cssom/TranslationTransformComponent.cpp
index 7cc1466fb850817366e9399fee1be55b01df5aa3..d7c2617e7e77aff6c7dbe007790b67dc7ff1b8d9 100644
--- a/third_party/WebKit/Source/core/css/cssom/TranslationTransformComponent.cpp
+++ b/third_party/WebKit/Source/core/css/cssom/TranslationTransformComponent.cpp
@@ -19,14 +19,14 @@ TranslationTransformComponent* TranslationTransformComponent::create(LengthValue
return new TranslationTransformComponent(x, y, z);
}
-RawPtr<CSSFunctionValue> TranslationTransformComponent::toCSSValue() const
+CSSFunctionValue* TranslationTransformComponent::toCSSValue() const
{
- RawPtr<CSSFunctionValue> result = CSSFunctionValue::create(is2D() ? CSSValueTranslate : CSSValueTranslate3d);
+ CSSFunctionValue* result = CSSFunctionValue::create(is2D() ? CSSValueTranslate : CSSValueTranslate3d);
result->append(m_x->toCSSValue());
result->append(m_y->toCSSValue());
if (!is2D())
result->append(m_z->toCSSValue());
- return result.release();
+ return result;
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698