Index: third_party/WebKit/Source/core/layout/ng/ng_inline_node_test.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_inline_node_test.cc b/third_party/WebKit/Source/core/layout/ng/ng_inline_node_test.cc |
index 6c9f5ad57ce087e94a39aa3202574eb12f88a1fb..6bd6ccd7c274b0da00ee759df6cfb29a40b5163a 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_inline_node_test.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_inline_node_test.cc |
@@ -105,6 +105,7 @@ class NGInlineNodeTest : public RenderingTest { |
RefPtr<const ComputedStyle> style_; |
LayoutBlockFlow* layout_block_flow_ = nullptr; |
LayoutObject* layout_object_ = nullptr; |
+ FontCachePurgePreventer purge_preventer_; |
}; |
#define TEST_ITEM_OFFSET_DIR(item, start, end, direction) \ |
@@ -218,6 +219,7 @@ TEST_F(NGInlineNodeTest, CreateLineBidiIsolate) { |
style->font().update(nullptr); |
NGInlineNodeForTest* node = |
CreateBidiIsolateNode(CreateInlineNode(), style.get(), layout_object_); |
+ node->ShapeText(); |
Vector<RefPtr<const NGPhysicalTextFragment>> fragments; |
CreateLine(node, &fragments); |
ASSERT_EQ(5u, fragments.size()); |