| Index: third_party/WebKit/Source/platform/fonts/Font.cpp
|
| diff --git a/third_party/WebKit/Source/platform/fonts/Font.cpp b/third_party/WebKit/Source/platform/fonts/Font.cpp
|
| index 1278325f24f7d18c65db12050fc226311eb37765..1d224eec5715830117b6da9c856e5799cd8c22a9 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/Font.cpp
|
| +++ b/third_party/WebKit/Source/platform/fonts/Font.cpp
|
| @@ -414,10 +414,14 @@
|
|
|
| CodePath Font::codePath(const TextRunPaintInfo& runInfo) const
|
| {
|
| +// TODO(eae): Disable the always use complex text feature on Android for now as
|
| +// it caused a memory regression for webview. crbug.com/577306
|
| +#if !OS(ANDROID)
|
| if (RuntimeEnabledFeatures::alwaysUseComplexTextEnabled()
|
| || LayoutTestSupport::alwaysUseComplexTextForTest()) {
|
| return ComplexPath;
|
| }
|
| +#endif
|
|
|
| const TextRun& run = runInfo.run;
|
|
|
|
|