| Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| index 68baec2858e10ef18b15fd7e1892c1b891a5824f..51a51fc98e2e198c0f3fb5dd4ef9ece182e12659 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -3369,6 +3369,9 @@ void LayoutObject::setShouldDoFullPaintInvalidation(
|
| }
|
|
|
| frameView()->scheduleVisualUpdateForPaintInvalidationIfNeeded();
|
| +
|
| + if (isText())
|
| + parent()->setShouldDoFullPaintInvalidation();
|
| }
|
|
|
| void LayoutObject::setMayNeedPaintInvalidation() {
|
| @@ -3377,6 +3380,8 @@ void LayoutObject::setMayNeedPaintInvalidation() {
|
| m_bitfields.setMayNeedPaintInvalidation(true);
|
| markAncestorsForPaintInvalidation();
|
| frameView()->scheduleVisualUpdateForPaintInvalidationIfNeeded();
|
| + if (isText())
|
| + parent()->setShouldDoFullPaintInvalidation();
|
| }
|
|
|
| void LayoutObject::setMayNeedPaintInvalidationSubtree() {
|
| @@ -3384,6 +3389,8 @@ void LayoutObject::setMayNeedPaintInvalidationSubtree() {
|
| return;
|
| m_bitfields.setMayNeedPaintInvalidationSubtree(true);
|
| setMayNeedPaintInvalidation();
|
| + if (isText())
|
| + parent()->setShouldDoFullPaintInvalidation();
|
| }
|
|
|
| void LayoutObject::setMayNeedPaintInvalidationAnimatedBackgroundImage() {
|
|
|