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

Unified Diff: third_party/WebKit/Source/core/css/CSSCalculationValueTest.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/CSSCalculationValueTest.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSCalculationValueTest.cpp b/third_party/WebKit/Source/core/css/CSSCalculationValueTest.cpp
index e1262d1372050e8353eea1fe54990f375b984e04..bb0eaaacb162f87f637c10c7c62f424f57390345 100644
--- a/third_party/WebKit/Source/core/css/CSSCalculationValueTest.cpp
+++ b/third_party/WebKit/Source/core/css/CSSCalculationValueTest.cpp
@@ -47,7 +47,7 @@ void PrintTo(const CSSLengthArray& lengthArray, ::std::ostream* os)
namespace {
-void testAccumulatePixelsAndPercent(const CSSToLengthConversionData& conversionData, RawPtr<CSSCalcExpressionNode> expression, float expectedPixels, float expectedPercent)
+void testAccumulatePixelsAndPercent(const CSSToLengthConversionData& conversionData, CSSCalcExpressionNode* expression, float expectedPixels, float expectedPercent)
{
PixelsAndPercent value(0, 0);
expression->accumulatePixelsAndPercent(conversionData, value);
@@ -65,9 +65,9 @@ void initLengthArray(CSSLengthArray& lengthArray)
CSSLengthArray& setLengthArray(CSSLengthArray& lengthArray, String text)
{
initLengthArray(lengthArray);
- RawPtr<MutableStylePropertySet> propertySet = MutableStylePropertySet::create(HTMLQuirksMode);
+ MutableStylePropertySet* propertySet = MutableStylePropertySet::create(HTMLQuirksMode);
propertySet->setProperty(CSSPropertyLeft, text);
- toCSSPrimitiveValue(propertySet->getPropertyCSSValue(CSSPropertyLeft).get())->accumulateLengthArray(lengthArray);
+ toCSSPrimitiveValue(propertySet->getPropertyCSSValue(CSSPropertyLeft))->accumulateLengthArray(lengthArray);
return lengthArray;
}
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSCalculationValue.cpp ('k') | third_party/WebKit/Source/core/css/CSSColorValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698