Commit 992492e6 authored by mdjones's avatar mdjones Committed by Commit bot

Fix hanging get requests

Run the GotDataCallback for distiller feedback responses.

BUG=

Review URL: https://codereview.chromium.org/1106293004

Cr-Commit-Position: refs/heads/master@{#327203}
parent 640dc659
......@@ -232,6 +232,7 @@ void DomDistillerViewerSource::StartDataRequest(
return;
} else if (kFeedbackBad == path) {
FeedbackReporter::ReportQuality(false);
callback.Run(NULL);
if (!external_feedback_reporter_)
return;
content::WebContents* contents =
......@@ -241,6 +242,7 @@ void DomDistillerViewerSource::StartDataRequest(
return;
} else if (kFeedbackGood == path) {
FeedbackReporter::ReportQuality(true);
callback.Run(NULL);
return;
}
content::WebContents* web_contents =
......
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