Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(283)

Unified Diff: third_party/WebKit/Source/core/paint/EmbeddedObjectPaintInvalidator.h

Issue 2393043002: [SPInvalidation] Enable LayoutEmbeddedObject paint invalidation in new path (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
};
« no previous file with comments | « third_party/WebKit/Source/core/paint/BUILD.gn ('k') | third_party/WebKit/Source/core/paint/EmbeddedObjectPaintInvalidator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698