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 dc7ce4ed6d4aab6fb9cceb4d9f0e925328959d1c..cd7431102f894e01ee80d2308ba2670f3f1d66c2 100644 |
--- a/third_party/WebKit/Source/core/css/StyleSheetContentsTest.cpp |
+++ b/third_party/WebKit/Source/core/css/StyleSheetContentsTest.cpp |
@@ -19,11 +19,11 @@ TEST(StyleSheetContentsTest, InsertMediaRule) |
EXPECT_EQ(1U, styleSheet->ruleCount()); |
styleSheet->setMutable(); |
- styleSheet->wrapperInsertRule(CSSParser::parseRule(context, styleSheet, "@media all { div { color: pink } }"), 0); |
+ styleSheet->wrapperInsertRule(CSSParser::parseRule(context, styleSheet.get(), "@media all { div { color: pink } }"), 0); |
EXPECT_EQ(1U, styleSheet->ruleCount()); |
EXPECT_FALSE(styleSheet->hasMediaQueries()); |
- styleSheet->wrapperInsertRule(CSSParser::parseRule(context, styleSheet, "@media all { div { color: green } }"), 1); |
+ styleSheet->wrapperInsertRule(CSSParser::parseRule(context, styleSheet.get(), "@media all { div { color: green } }"), 1); |
EXPECT_EQ(2U, styleSheet->ruleCount()); |
EXPECT_TRUE(styleSheet->hasMediaQueries()); |
} |