Index: extensions/renderer/event_bindings.cc |
diff --git a/extensions/renderer/event_bindings.cc b/extensions/renderer/event_bindings.cc |
index 229a1c89b6f99cab1b178ec4b3fb791ab047d015..82e63471b5cddf9c765474a3c011d4ef5ee55163 100644 |
--- a/extensions/renderer/event_bindings.cc |
+++ b/extensions/renderer/event_bindings.cc |
@@ -265,7 +265,7 @@ void EventBindings::AttachFilteredEvent( |
args.GetReturnValue().Set(static_cast<int32_t>(-1)); |
return; |
} |
- filter.reset(static_cast<base::DictionaryValue*>(filter_value.release())); |
+ filter = base::DictionaryValue::From(filter_value.Pass()); |
} |
// Hold onto a weak reference to |filter| so that it can be used after passing |