Chromium Code Reviews
DescriptionFix a problem that FeedbackReportingView is stacked infinitely whenever navigating to chrome-distiller://.
FeedbackReporter creates FeedbackReportingView when a given url is reportable and otherwise delete it.
Everything is fine in normal flows, but if we navigate to a reportable url continuously,
FeedbackReportingView is created and stacked as much as we did.
The current call flows are as follows.
A-1. navigating to http://
FeedbackReporter.TabObserver.onUpdateUrl()
FeedbackReporter.dismissOverlay()
FeedbackReporterAndroid::DidNavigateMainFrame()
FeedbackReporter.dismissOverlay()
B-1. navigating to chrome-distiller://
FeedbackReporter.TabObserver.onUpdateUrl()
FeedbackReporter.showOverlay()
FeedbackReporterAndroid::DidNavigateMainFrame()
As we can see, there is no FeedbackReporter.dismissOverlay() call in the 2nd case.
This patch changes the above call flows as follows.
A-2. navigating to http://
FeedbackReporterAndroid::DidNavigateMainFrame()
FeedbackReporter.dismissOverlay()
B-2. navigating to chrome-distiller://
FeedbackReporterAndroid::DidNavigateMainFrame()
FeedbackReporter.dismissOverlay()
FeedbackReporter.showOverlay()
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261053
Patch Set 1 #
Total comments: 4
Patch Set 2 : #
Total comments: 6
Patch Set 3 : #Patch Set 4 : #
Total comments: 2
Patch Set 5 : #Messages
Total messages: 14 (0 generated)
|