| Index: third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
|
| index 1f5b571c5218aa8c8354299d8716c93302cd752f..2f447211857091dd6f91a55aa691e0478df469aa 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
|
| @@ -141,7 +141,7 @@ void PaintInvalidatorContext::mapLocalRectToPaintInvalidationBacking(
|
| geometryMapper, object, rect, *this);
|
| }
|
|
|
| -LayoutRect PaintInvalidator::computeVisualRectInBacking(
|
| +inline LayoutRect PaintInvalidator::computeVisualRectInBacking(
|
| const LayoutObject& object,
|
| const PaintInvalidatorContext& context) {
|
| if (object.isSVGChild()) {
|
| @@ -153,7 +153,7 @@ LayoutRect PaintInvalidator::computeVisualRectInBacking(
|
| m_geometryMapper, object, object.localVisualRect(), context);
|
| }
|
|
|
| -LayoutPoint PaintInvalidator::computeLocationInBacking(
|
| +inline LayoutPoint PaintInvalidator::computeLocationInBacking(
|
| const LayoutObject& object,
|
| const PaintInvalidatorContext& context) {
|
| // Use visual rect location for LayoutTexts because it suffices to check
|
| @@ -192,8 +192,9 @@ LayoutPoint PaintInvalidator::computeLocationInBacking(
|
| return point;
|
| }
|
|
|
| -void PaintInvalidator::updatePaintingLayer(const LayoutObject& object,
|
| - PaintInvalidatorContext& context) {
|
| +inline void PaintInvalidator::updatePaintingLayer(
|
| + const LayoutObject& object,
|
| + PaintInvalidatorContext& context) {
|
| if (object.hasLayer() &&
|
| toLayoutBoxModelObject(object).hasSelfPaintingLayer()) {
|
| context.paintingLayer = toLayoutBoxModelObject(object).layer();
|
| @@ -263,8 +264,8 @@ class ScopedUndoFrameViewContentClipAndScroll {
|
|
|
| } // namespace
|
|
|
| -void PaintInvalidator::updateContext(const LayoutObject& object,
|
| - PaintInvalidatorContext& context) {
|
| +inline void PaintInvalidator::updateContext(const LayoutObject& object,
|
| + PaintInvalidatorContext& context) {
|
| Optional<ScopedUndoFrameViewContentClipAndScroll>
|
| undoFrameViewContentClipAndScroll;
|
|
|
|
|