| Index: third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp b/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp
|
| index f1a452fb2a64285bf788d484e954d9eeb5e6a16f..8c955d9743357119d9f23364de9035846bf40997 100644
|
| --- a/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp
|
| @@ -39,6 +39,12 @@ static TextBlobPtr* addToTextBlobCache(const InlineTextBox& inlineTextBox)
|
| return &gTextBlobCache->add(&inlineTextBox, nullptr).storedValue->value;
|
| }
|
|
|
| +void InlineTextBoxPainter::invalidateTextBlobCache()
|
| +{
|
| + delete gTextBlobCache;
|
| + gTextBlobCache = nullptr;
|
| +}
|
| +
|
| bool InlineTextBoxPainter::paintsMarkerHighlights(const LayoutObject& layoutObject)
|
| {
|
| return layoutObject.node() && layoutObject.document().markers().hasMarkers(layoutObject.node());
|
|
|