Index: third_party/WebKit/Source/core/layout/ng/inline/ng_inline_items_builder_test.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_items_builder_test.cc b/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_items_builder_test.cc |
index dac3a1292c250aea7eaedbb1cb1efebf5e7e4b75..2ebf577d7a1290ce1ca6ab604d2a441419558faf 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_items_builder_test.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_items_builder_test.cc |
@@ -16,7 +16,7 @@ namespace { |
static PassRefPtr<ComputedStyle> CreateWhitespaceStyle(EWhiteSpace whitespace) { |
RefPtr<ComputedStyle> style(ComputedStyle::Create()); |
style->SetWhiteSpace(whitespace); |
- return style.Release(); |
+ return style; |
} |
class NGInlineItemsBuilderTest : public ::testing::Test { |