Commit 09490f2c authored by Xianzhu Wang's avatar Xianzhu Wang Committed by Commit Bot

Remove unused PrePaintTreeWalk::NeedsEffectiveAllowedTouchActionUpdate()

Change-Id: I84a1149e64d477ade11df1b114187feeea6757aa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2466384Reviewed-by: default avatarStefan Zager <szager@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#816317}
parent 2ad3f0c5
......@@ -291,14 +291,6 @@ void PrePaintTreeWalk::Walk(LocalFrameView& frame_view) {
context_storage_.pop_back();
}
bool PrePaintTreeWalk::NeedsEffectiveAllowedTouchActionUpdate(
const LayoutObject& object,
PrePaintTreeWalk::PrePaintTreeWalkContext& context) const {
return context.effective_allowed_touch_action_changed ||
object.EffectiveAllowedTouchActionChanged() ||
object.DescendantEffectiveAllowedTouchActionChanged();
}
namespace {
bool HasBlockingTouchEventHandler(const LocalFrame& frame,
EventTarget& target) {
......
......@@ -123,9 +123,6 @@ class CORE_EXPORT PrePaintTreeWalk {
const PrePaintTreeWalkContext&);
void UpdateAuxiliaryObjectProperties(const LayoutObject&,
PrePaintTreeWalkContext&);
bool NeedsEffectiveAllowedTouchActionUpdate(const LayoutObject&,
PrePaintTreeWalkContext&) const;
// Updates |LayoutObject::InsideBlockingTouchEventHandler|. Also ensures
// |PrePaintTreeWalkContext.effective_allowed_touch_action_changed| is set
// which will ensure the subtree is updated too.
......
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