[api] Make all one-arg constructors explicit
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng Change-Id: I5fc71633f2412c2bec3a4363a40da9920a3e25e2 Reviewed-on: https://chromium-review.googlesource.com/922386 Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Commit-Queue: Adam Klein <adamk@chromium.org> Cr-Commit-Position: refs/heads/master@{#51315}
This commit is contained in:
parent
a46ffa0dca
commit
1de6157f0a
@ -945,7 +945,7 @@ class V8_EXPORT EscapableHandleScope : public HandleScope {
|
||||
*/
|
||||
class V8_EXPORT SealHandleScope {
|
||||
public:
|
||||
SealHandleScope(Isolate* isolate);
|
||||
explicit SealHandleScope(Isolate* isolate);
|
||||
~SealHandleScope();
|
||||
|
||||
SealHandleScope(const SealHandleScope&) = delete;
|
||||
@ -4147,7 +4147,7 @@ class V8_EXPORT WasmCompiledModule : public Object {
|
||||
// to simply WasmModuleObjectBuilder
|
||||
class V8_EXPORT WasmModuleObjectBuilderStreaming final {
|
||||
public:
|
||||
WasmModuleObjectBuilderStreaming(Isolate* isolate);
|
||||
explicit WasmModuleObjectBuilderStreaming(Isolate* isolate);
|
||||
// The buffer passed into OnBytesReceived is owned by the caller.
|
||||
void OnBytesReceived(const uint8_t*, size_t size);
|
||||
void Finish();
|
||||
@ -8213,7 +8213,7 @@ class V8_EXPORT TryCatch {
|
||||
* all TryCatch blocks should be stack allocated because the memory
|
||||
* location itself is compared against JavaScript try/catch blocks.
|
||||
*/
|
||||
TryCatch(Isolate* isolate);
|
||||
explicit TryCatch(Isolate* isolate);
|
||||
|
||||
/**
|
||||
* Unregisters and deletes this try/catch block.
|
||||
|
Loading…
Reference in New Issue
Block a user