summaryrefslogtreecommitdiff
path: root/core/fxcrt/css/cfx_cssstylesheet_unittest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/css/cfx_cssstylesheet_unittest.cpp')
-rw-r--r--core/fxcrt/css/cfx_cssstylesheet_unittest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/fxcrt/css/cfx_cssstylesheet_unittest.cpp b/core/fxcrt/css/cfx_cssstylesheet_unittest.cpp
index abcd2f6972..30298243bc 100644
--- a/core/fxcrt/css/cfx_cssstylesheet_unittest.cpp
+++ b/core/fxcrt/css/cfx_cssstylesheet_unittest.cpp
@@ -51,7 +51,7 @@ class CFX_CSSStyleSheetTest : public testing::Test {
ASSERT(decl_);
bool important;
- CFX_RetainPtr<CFX_CSSValue> v = decl_->GetProperty(prop, &important);
+ RetainPtr<CFX_CSSValue> v = decl_->GetProperty(prop, &important);
EXPECT_EQ(v->GetType(), CFX_CSSPrimitiveType::Number);
EXPECT_EQ(v.As<CFX_CSSNumberValue>()->Kind(), type);
EXPECT_EQ(v.As<CFX_CSSNumberValue>()->Value(), val);
@@ -61,7 +61,7 @@ class CFX_CSSStyleSheetTest : public testing::Test {
ASSERT(decl_);
bool important;
- CFX_RetainPtr<CFX_CSSValue> v = decl_->GetProperty(prop, &important);
+ RetainPtr<CFX_CSSValue> v = decl_->GetProperty(prop, &important);
EXPECT_EQ(v->GetType(), CFX_CSSPrimitiveType::Enum);
EXPECT_EQ(v.As<CFX_CSSEnumValue>()->Value(), val);
}
@@ -71,12 +71,12 @@ class CFX_CSSStyleSheetTest : public testing::Test {
ASSERT(decl_);
bool important;
- CFX_RetainPtr<CFX_CSSValueList> list =
+ RetainPtr<CFX_CSSValueList> list =
decl_->GetProperty(prop, &important).As<CFX_CSSValueList>();
EXPECT_EQ(list->CountValues(), pdfium::CollectionSize<int32_t>(values));
for (size_t i = 0; i < values.size(); i++) {
- CFX_RetainPtr<CFX_CSSValue> val = list->GetValue(i);
+ RetainPtr<CFX_CSSValue> val = list->GetValue(i);
EXPECT_EQ(val->GetType(), CFX_CSSPrimitiveType::Enum);
EXPECT_EQ(val.As<CFX_CSSEnumValue>()->Value(), values[i]);
}