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

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

Issue 2354023002: Fix caret invalidation in slimmingPaintInvalidation path (Closed)
Patch Set: - Created 4 years, 3 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/BlockPaintInvalidator.h
diff --git a/third_party/WebKit/Source/core/paint/TablePaintInvalidator.h b/third_party/WebKit/Source/core/paint/BlockPaintInvalidator.h
similarity index 66%
copy from third_party/WebKit/Source/core/paint/TablePaintInvalidator.h
copy to third_party/WebKit/Source/core/paint/BlockPaintInvalidator.h
index 11020f15c88ce8a9d58e0b81c984ee06ff112f25..8625a56b6e89cd0fb0ab4e4408029a23a129fbe3 100644
--- a/third_party/WebKit/Source/core/paint/TablePaintInvalidator.h
+++ b/third_party/WebKit/Source/core/paint/BlockPaintInvalidator.h
@@ -2,27 +2,27 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef TablePaintInvalidator_h
-#define TablePaintInvalidator_h
+#ifndef BlockPaintInvalidator_h
+#define BlockPaintInvalidator_h
#include "platform/graphics/PaintInvalidationReason.h"
#include "wtf/Allocator.h"
namespace blink {
-class LayoutTable;
struct PaintInvalidatorContext;
+class LayoutBlock;
-class TablePaintInvalidator {
+class BlockPaintInvalidator {
STACK_ALLOCATED();
public:
- TablePaintInvalidator(const LayoutTable& table, const PaintInvalidatorContext& context)
- : m_table(table), m_context(context) { }
+ BlockPaintInvalidator(const LayoutBlock& block, const PaintInvalidatorContext& context)
+ : m_block(block), m_context(context) { }
PaintInvalidationReason invalidatePaintIfNeeded();
private:
- const LayoutTable& m_table;
+ const LayoutBlock& m_block;
const PaintInvalidatorContext& m_context;
};
« no previous file with comments | « third_party/WebKit/Source/core/paint/BUILD.gn ('k') | third_party/WebKit/Source/core/paint/BlockPaintInvalidator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698