#include "base/callback.h"
#include "base/files/file_path.h"
#include "content/public/browser/web_contents.h"
+#include "tizen/common/env_variables.h"
namespace atom {
void SavePageHandler::OnDownloadUpdated(content::DownloadItem* item) {
if (item->IsDone()) {
v8::Isolate* isolate = v8::Isolate::GetCurrent();
- v8::Locker locker(isolate);
+ if (!::tizen::is_single_process)
+ v8::Locker locker(isolate);
v8::HandleScope handle_scope(isolate);
if (item->GetState() == content::DownloadItem::COMPLETE) {
callback_.Run(v8::Null(isolate));