mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-21 14:40:49 +01:00
Fix writing of files from DevTools (fixes issue #3211)
This commit is contained in:
parent
463ca625e1
commit
088816d496
@ -534,7 +534,8 @@ void CefDevToolsFrontend::HandleMessageFromDevToolsFrontend(
|
|||||||
const std::string* url = params[0].GetIfString();
|
const std::string* url = params[0].GetIfString();
|
||||||
const std::string* content = params[1].GetIfString();
|
const std::string* content = params[1].GetIfString();
|
||||||
if (!url || !content)
|
if (!url || !content)
|
||||||
return file_manager_.AppendToFile(*url, *content);
|
return;
|
||||||
|
file_manager_.AppendToFile(*url, *content);
|
||||||
} else {
|
} else {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user