Commit 9457c5ef authored by Eric Roman's avatar Eric Roman Committed by Commit Bot

Fix a CHECK failure when running components/webcrypto fuzzer tests.

Bug: 760412
Change-Id: I636562f761b0574369b40b64c0e9f180a1eed1e5
Reviewed-on: https://chromium-review.googlesource.com/663675Reviewed-by: default avatarRyan Sleevi <rsleevi@chromium.org>
Commit-Queue: Eric Roman <eroman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#501415}
parent 8d9c0af5
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#include "base/command_line.h" #include "base/command_line.h"
#include "base/lazy_instance.h" #include "base/lazy_instance.h"
#include "base/message_loop/message_loop.h"
#include "base/numerics/safe_conversions.h" #include "base/numerics/safe_conversions.h"
#include "components/webcrypto/algorithm_dispatch.h" #include "components/webcrypto/algorithm_dispatch.h"
#include "components/webcrypto/crypto_data.h" #include "components/webcrypto/crypto_data.h"
...@@ -28,6 +29,9 @@ class InitOnce : public blink::Platform { ...@@ -28,6 +29,9 @@ class InitOnce : public blink::Platform {
blink::Platform::Initialize(this); blink::Platform::Initialize(this);
} }
~InitOnce() override {} ~InitOnce() override {}
private:
base::MessageLoop loop_;
}; };
base::LazyInstance<InitOnce>::Leaky g_once = LAZY_INSTANCE_INITIALIZER; base::LazyInstance<InitOnce>::Leaky g_once = LAZY_INSTANCE_INITIALIZER;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment