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 = ...@@ -38,9 +38,10 @@ using PendingInvalidationMap =
// InvalidationLists obtained from RuleFeatureSet. // InvalidationLists obtained from RuleFeatureSet.
// //
// When we next read computed styles, for example from // When we next read computed styles, for example from
// user script or to render a frame, Invalidate(Document&) // user script or to render a frame,
// is called to traverse the DOM and perform all // StyleInvalidator::Invalidate(Document&) is called to
// the pending style invalidations. // traverse the DOM and perform all the pending style
// invalidations.
// //
// If an element is removed from the DOM tree, we call // If an element is removed from the DOM tree, we call
// ClearInvalidation(ContainerNode&). // ClearInvalidation(ContainerNode&).
...@@ -68,7 +69,6 @@ class CORE_EXPORT PendingInvalidations { ...@@ -68,7 +69,6 @@ class CORE_EXPORT PendingInvalidations {
PendingInvalidations(const PendingInvalidations&) = delete; PendingInvalidations(const PendingInvalidations&) = delete;
PendingInvalidations& operator=(const PendingInvalidations&) = delete; PendingInvalidations& operator=(const PendingInvalidations&) = delete;
~PendingInvalidations() {} ~PendingInvalidations() {}
void Invalidate(Document&);
// May immediately invalidate the node and/or add pending invalidation sets to // May immediately invalidate the node and/or add pending invalidation sets to
// this node. // this node.
void ScheduleInvalidationSetsForNode(const InvalidationLists&, 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