| Index: third_party/WebKit/Source/core/paint/TableCellPaintInvalidator.h
|
| diff --git a/third_party/WebKit/Source/core/paint/TableCellPaintInvalidator.h b/third_party/WebKit/Source/core/paint/TableCellPaintInvalidator.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d47b5825cf88bdded8ac9107f61fed748a08e7b5
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/paint/TableCellPaintInvalidator.h
|
| @@ -0,0 +1,33 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef TableCellPaintInvalidator_h
|
| +#define TableCellPaintInvalidator_h
|
| +
|
| +#include "platform/graphics/PaintInvalidationReason.h"
|
| +#include "platform/wtf/Allocator.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class LayoutTableCell;
|
| +struct PaintInvalidatorContext;
|
| +
|
| +class TableCellPaintInvalidator {
|
| + STACK_ALLOCATED();
|
| +
|
| + public:
|
| + TableCellPaintInvalidator(const LayoutTableCell& cell,
|
| + const PaintInvalidatorContext& context)
|
| + : cell_(cell), context_(context) {}
|
| +
|
| + PaintInvalidationReason InvalidatePaint();
|
| +
|
| + private:
|
| + const LayoutTableCell& cell_;
|
| + const PaintInvalidatorContext& context_;
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif
|
|
|