Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Unified Diff: third_party/WebKit/Source/platform/testing/BlinkFuzzerTestSupport.cpp

Issue 2433123002: Ensure ICU initialization for blink libfuzzers (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/testing/BlinkFuzzerTestSupport.cpp
diff --git a/third_party/WebKit/Source/platform/testing/BlinkFuzzerTestSupport.cpp b/third_party/WebKit/Source/platform/testing/BlinkFuzzerTestSupport.cpp
index 0b23d2bad9297564d921cf4fe5fd4e0c2a3c78b6..a45842790c77db05d7b58eda2d1066c1458680c1 100644
--- a/third_party/WebKit/Source/platform/testing/BlinkFuzzerTestSupport.cpp
+++ b/third_party/WebKit/Source/platform/testing/BlinkFuzzerTestSupport.cpp
@@ -6,6 +6,7 @@
#include "base/at_exit.h"
#include "base/command_line.h"
+#include "base/i18n/icu_util.h"
#include "mojo/edk/embedder/embedder.h"
#include "platform/weborigin/SchemeRegistry.h"
#include <content/test/blink_test_environment.h>
@@ -18,6 +19,8 @@ void InitializeBlinkFuzzTest(int* argc, char*** argv) {
// environment as the previous iteration.
base::AtExitManager atExit;
+ CHECK(base::i18n::InitializeICU());
+
mojo::edk::Init();
base::CommandLine::Init(*argc, *argv);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698