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

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

Issue 2665823002: Invalidate caret during paint invalidation (Closed)
Patch Set: NeedsRebaseline Created 3 years, 10 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/BlockPaintInvalidator.h b/third_party/WebKit/Source/core/paint/BlockPaintInvalidator.h
index ff759f8b04eb10c9e199abdc3a8f3af52bbd64de..ac03658b6b8a360f42ee8752546624ffa3670dbf 100644
--- a/third_party/WebKit/Source/core/paint/BlockPaintInvalidator.h
+++ b/third_party/WebKit/Source/core/paint/BlockPaintInvalidator.h
@@ -17,15 +17,14 @@ class BlockPaintInvalidator {
STACK_ALLOCATED();
public:
- BlockPaintInvalidator(const LayoutBlock& block,
- const PaintInvalidatorContext& context)
- : m_block(block), m_context(context) {}
+ BlockPaintInvalidator(const LayoutBlock& block) : m_block(block) {}
- PaintInvalidationReason invalidatePaintIfNeeded();
+ void clearPreviousVisualRects();
+ PaintInvalidationReason invalidatePaintIfNeeded(
+ const PaintInvalidatorContext&);
private:
const LayoutBlock& m_block;
- const PaintInvalidatorContext& m_context;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.cpp ('k') | third_party/WebKit/Source/core/paint/BlockPaintInvalidator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698