Remove unneeded locker and handle scope

This commit is contained in:
Kevin Sawicki 2016-09-28 17:51:01 -07:00
parent 77b35ba7ab
commit 8abe8fe01d

View file

@ -267,8 +267,6 @@ void Cookies::Set(const base::DictionaryValue& details,
void Cookies::OnCookieChanged(const net::CanonicalCookie& cookie,
bool removed,
AtomCookieDelegate::ChangeCause cause) {
v8::Locker locker(isolate());
v8::HandleScope handle_scope(isolate());
Emit("changed", cookie, cause, removed);
}