Skip to content

Commit

Permalink
use handlescope
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Dec 4, 2018
1 parent 7700bb1 commit c0f1dfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atom/browser/api/atom_api_app.cc
Expand Up @@ -1126,7 +1126,7 @@ JumpListResult App::SetJumpList(v8::Local<v8::Value> val,
v8::Local<v8::Promise> App::GetFileIcon(const base::FilePath& path,
mate::Arguments* args) {
v8::Locker locker(isolate());
v8::Isolate::Scope scope(isolate());
v8::HandleScope scope(isolate());

scoped_refptr<util::Promise> promise = new util::Promise(isolate());
base::FilePath normalized_path = path.NormalizePathSeparators();
Expand Down

0 comments on commit c0f1dfe

Please sign in to comment.