Commit f0670aa5 authored by Henrique Ferreiro's avatar Henrique Ferreiro Committed by Commit Bot

Remove unused PendingInvalidations::Invalidate()

Change-Id: Ibe2ea1cdf59f556db3f557ab4dabe2654310eedd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2527058Reviewed-by: default avatarAnders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Henrique Ferreiro <hferreiro@igalia.com>
Cr-Commit-Position: refs/heads/master@{#826270}
parent 5ff53c6a
......@@ -38,9 +38,10 @@ using PendingInvalidationMap =
// InvalidationLists obtained from RuleFeatureSet.
//
// When we next read computed styles, for example from
// user script or to render a frame, Invalidate(Document&)
// is called to traverse the DOM and perform all
// the pending style invalidations.
// user script or to render a frame,
// StyleInvalidator::Invalidate(Document&) is called to
// traverse the DOM and perform all the pending style
// invalidations.
//
// If an element is removed from the DOM tree, we call
// ClearInvalidation(ContainerNode&).
......@@ -68,7 +69,6 @@ class CORE_EXPORT PendingInvalidations {
PendingInvalidations(const PendingInvalidations&) = delete;
PendingInvalidations& operator=(const PendingInvalidations&) = delete;
~PendingInvalidations() {}
void Invalidate(Document&);
// May immediately invalidate the node and/or add pending invalidation sets to
// this node.
void ScheduleInvalidationSetsForNode(const InvalidationLists&,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment