Skip to content

Commit f769dad

Browse files
Sam MaierChromium LUCI CQ
authored andcommitted
Revert "Fix memory leak in WebContentAccessibilityImpl"
This reverts commit ee2d144. Reason for revert: this did not actually fix the issue Original change's description: > Fix memory leak in WebContentAccessibilityImpl > > Bug: 462184793 > Change-Id: I77b63e2a1506ab58de8469dad632e63bb006ebe2 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7200483 > Auto-Submit: Sam Maier <[email protected]> > Commit-Queue: Amanda Lin Dietz <[email protected]> > Reviewed-by: Amanda Lin Dietz <[email protected]> > Commit-Queue: Sam Maier <[email protected]> > Cr-Commit-Position: refs/heads/main@{#1549416} Bug: 462184793 Change-Id: I516c2fb85d15d396b5b6c93e0b2b433c857d0baf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7208681 Bot-Commit: Rubber Stamper <[email protected]> Reviewed-by: Andrew Grieve <[email protected]> Auto-Submit: Sam Maier <[email protected]> Commit-Queue: Sam Maier <[email protected]> Owners-Override: Sam Maier <[email protected]> Cr-Commit-Position: refs/heads/main@{#1551243}
1 parent c581458 commit f769dad

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

content/public/android/java/src/org/chromium/content/browser/accessibility/WebContentsAccessibilityImpl.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@
5454

5555
import static org.chromium.build.NullUtil.assumeNonNull;
5656
import static org.chromium.content.browser.accessibility.AccessibilityNodeInfoBuilder.EXTRAS_DATA_REQUEST_IMAGE_DATA_KEY;
57-
import static org.chromium.content.browser.accessibility.AccessibilityNodeInfoBuilder.EXTRAS_KEY_REQUEST_LAYOUT_BASED_ACTIONS;
5857
import static org.chromium.content.browser.accessibility.AccessibilityNodeInfoBuilder.EXTRAS_KEY_URL;
58+
import static org.chromium.content.browser.accessibility.AccessibilityNodeInfoBuilder.EXTRAS_KEY_REQUEST_LAYOUT_BASED_ACTIONS;
5959
import static org.chromium.content_public.browser.ContentFeatureList.ACCESSIBILITY_MANAGE_BROADCAST_RECEIVER_ON_BACKGROUND;
6060

6161
import android.annotation.SuppressLint;
@@ -828,7 +828,6 @@ public void destroy() {
828828
WindowEventObserverManager.from(mDelegate.getWebContents()).removeObserver(this);
829829
mDelegate.getWebContents().removeUserData(WebContentsAccessibilityImpl.class);
830830
}
831-
mBroadcastReceiver = null;
832831
TraceEvent.end("WebContentsAccessibilityImpl.destroy");
833832
}
834833

0 commit comments

Comments
 (0)