| Index: third_party/WebKit/Source/core/paint/EmbeddedObjectPaintInvalidator.h
|
| diff --git a/third_party/WebKit/Source/core/paint/SVGModelObjectPaintInvalidator.h b/third_party/WebKit/Source/core/paint/EmbeddedObjectPaintInvalidator.h
|
| similarity index 61%
|
| copy from third_party/WebKit/Source/core/paint/SVGModelObjectPaintInvalidator.h
|
| copy to third_party/WebKit/Source/core/paint/EmbeddedObjectPaintInvalidator.h
|
| index f9dae4b88f047890bf6ea4fe682e77f2bd5f286b..25fbb9c735ef2167c7f8fd5ae9e01c2790574f5e 100644
|
| --- a/third_party/WebKit/Source/core/paint/SVGModelObjectPaintInvalidator.h
|
| +++ b/third_party/WebKit/Source/core/paint/EmbeddedObjectPaintInvalidator.h
|
| @@ -2,29 +2,29 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef SVGModelObjectPaintInvalidator_h
|
| -#define SVGModelObjectPaintInvalidator_h
|
| +#ifndef EmbeddedObjectPaintInvalidator_h
|
| +#define EmbeddedObjectPaintInvalidator_h
|
|
|
| #include "platform/graphics/PaintInvalidationReason.h"
|
| #include "wtf/Allocator.h"
|
|
|
| namespace blink {
|
|
|
| -class LayoutSVGModelObject;
|
| +class LayoutEmbeddedObject;
|
| struct PaintInvalidatorContext;
|
|
|
| -class SVGModelObjectPaintInvalidator {
|
| +class EmbeddedObjectPaintInvalidator {
|
| STACK_ALLOCATED();
|
|
|
| public:
|
| - SVGModelObjectPaintInvalidator(const LayoutSVGModelObject& object,
|
| + EmbeddedObjectPaintInvalidator(const LayoutEmbeddedObject& embeddedObject,
|
| const PaintInvalidatorContext& context)
|
| - : m_object(object), m_context(context) {}
|
| + : m_embeddedObject(embeddedObject), m_context(context) {}
|
|
|
| PaintInvalidationReason invalidatePaintIfNeeded();
|
|
|
| private:
|
| - const LayoutSVGModelObject& m_object;
|
| + const LayoutEmbeddedObject& m_embeddedObject;
|
| const PaintInvalidatorContext& m_context;
|
| };
|
|
|
|
|