Index: extensions/browser/api/declarative_webrequest/webrequest_condition_attribute.cc |
diff --git a/extensions/browser/api/declarative_webrequest/webrequest_condition_attribute.cc b/extensions/browser/api/declarative_webrequest/webrequest_condition_attribute.cc |
index 8c0635fb7148dca1def2a915763412c43dba9b94..49680add6baf72d96f928f6398a92ed6e966566f 100644 |
--- a/extensions/browser/api/declarative_webrequest/webrequest_condition_attribute.cc |
+++ b/extensions/browser/api/declarative_webrequest/webrequest_condition_attribute.cc |
@@ -385,7 +385,7 @@ scoped_ptr<const HeaderMatcher> HeaderMatcher::Create( |
HeaderMatchTest::Create(tests)); |
if (header_test.get() == NULL) |
return scoped_ptr<const HeaderMatcher>(); |
- header_tests.push_back(header_test.release()); |
+ header_tests.push_back(header_test.Pass()); |
} |
return scoped_ptr<const HeaderMatcher>(new HeaderMatcher(&header_tests)); |