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

Issue 2865823003: Make multiple calls to DialogOverlayImpl.close() do nothing. (Closed)

Created:
3 years, 7 months ago by liberato (no reviews please)
Modified:
3 years, 7 months ago
Reviewers:
boliu
CC:
chromium-reviews, jam, darin-cc_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Make multiple calls to DialogOverlayImpl.close() do nothing. Previously, multiple calls to close() would result in multiple notifications to AndroidOverlayProviderImpl. It turns out that onConnectionError is sometimes received after close(). This CL makes multiple calls to close() do nothing. BUG=719181 TEST=DialogOverlayImplTest.testCloseOnlyClosesOnce Review-Url: https://codereview.chromium.org/2865823003 Cr-Commit-Position: refs/heads/master@{#470079} Committed: https://chromium.googlesource.com/chromium/src/+/2519704f857e56660e21c7309f8fdd18c86a8f99

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -0 lines) Patch
M content/public/android/java/src/org/chromium/content/browser/androidoverlay/DialogOverlayImpl.java View 2 chunks +7 lines, -0 lines 0 comments Download
M content/public/android/javatests/src/org/chromium/content/browser/androidoverlay/DialogOverlayImplTest.java View 3 chunks +31 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (9 generated)
liberato (no reviews please)
for fun, i thought that i might send you a CL that's smaller 2k lines ...
3 years, 7 months ago (2017-05-08 16:54:31 UTC) #7
boliu
lgtm
3 years, 7 months ago (2017-05-08 18:22:16 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2865823003/1
3 years, 7 months ago (2017-05-08 18:24:39 UTC) #10
commit-bot: I haz the power
3 years, 7 months ago (2017-05-08 19:45:55 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/2519704f857e56660e21c7309f8f...

Powered by Google App Engine
This is Rietveld 408576698