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

Unified Diff: third_party/WebKit/Source/core/css/CSSPrimitiveValue.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/CSSPrimitiveValue.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp b/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
index 9deb027d131d86405ee46ca5e097925194e21c26..a3c1cf4c8e102e7f0f75609d8c955c9d4cf1f531 100644
--- a/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
+++ b/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
@@ -289,11 +289,11 @@ void CSSPrimitiveValue::init(UnitType type)
m_primitiveUnitType = static_cast<unsigned>(type);
}
-void CSSPrimitiveValue::init(RawPtr<CSSCalcValue> c)
+void CSSPrimitiveValue::init(CSSCalcValue* c)
{
init(UnitType::Calc);
m_hasCachedCSSText = false;
- m_value.calc = c.leakRef();
+ m_value.calc = c;
}
CSSPrimitiveValue::~CSSPrimitiveValue()

Powered by Google App Engine
This is Rietveld 408576698