Add an include in minikin (flutter/engine#22466)
FontLanguageListCache.cpp uses the ICU constant FALSE of type UBool, but does not #include <umachine.h> where it is defined. This makes the code brittle with respect to header file reorganization, and I found this while trying to roll ICU version 68.1 to Flutter engine.
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
#include "FontLanguageListCache.h"
|
||||
|
||||
#include <unicode/uloc.h>
|
||||
#include <unicode/umachine.h>
|
||||
#include <unordered_set>
|
||||
|
||||
#include <log/log.h>
|
||||
|
||||
Reference in New Issue
Block a user