| Index: third_party/WebKit/Source/core/css/StyleSheetContentsTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/StyleSheetContentsTest.cpp b/third_party/WebKit/Source/core/css/StyleSheetContentsTest.cpp
|
| index e3d768b9064a2d398ffc1044ef9a0c9a36026e47..b8028f2bb7a34491649345fea1a8a016c8a10c8f 100644
|
| --- a/third_party/WebKit/Source/core/css/StyleSheetContentsTest.cpp
|
| +++ b/third_party/WebKit/Source/core/css/StyleSheetContentsTest.cpp
|
| @@ -14,16 +14,16 @@ TEST(StyleSheetContentsTest, InsertMediaRule)
|
| {
|
| CSSParserContext context(HTMLStandardMode, nullptr);
|
|
|
| - RawPtr<StyleSheetContents> styleSheet = StyleSheetContents::create(context);
|
| + StyleSheetContents* styleSheet = StyleSheetContents::create(context);
|
| styleSheet->parseString("@namespace ns url(test);");
|
| EXPECT_EQ(1U, styleSheet->ruleCount());
|
|
|
| styleSheet->setMutable();
|
| - styleSheet->wrapperInsertRule(CSSParser::parseRule(context, styleSheet.get(), "@media all { div { color: pink } }"), 0);
|
| + styleSheet->wrapperInsertRule(CSSParser::parseRule(context, styleSheet, "@media all { div { color: pink } }"), 0);
|
| EXPECT_EQ(1U, styleSheet->ruleCount());
|
| EXPECT_FALSE(styleSheet->hasMediaQueries());
|
|
|
| - styleSheet->wrapperInsertRule(CSSParser::parseRule(context, styleSheet.get(), "@media all { div { color: green } }"), 1);
|
| + styleSheet->wrapperInsertRule(CSSParser::parseRule(context, styleSheet, "@media all { div { color: green } }"), 1);
|
| EXPECT_EQ(2U, styleSheet->ruleCount());
|
| EXPECT_TRUE(styleSheet->hasMediaQueries());
|
| }
|
|
|