Index: pdf/pdfium/pdfium_engine.cc |
diff --git a/pdf/pdfium/pdfium_engine.cc b/pdf/pdfium/pdfium_engine.cc |
index 475d56933053765ad2f460b8ca1d7a89df84a095..5ee296a1ebd64f757f5219788e1c18f1d0cc33b8 100644 |
--- a/pdf/pdfium/pdfium_engine.cc |
+++ b/pdf/pdfium/pdfium_engine.cc |
@@ -1106,7 +1106,7 @@ void PDFiumEngine::OnDocumentComplete() { |
} |
void PDFiumEngine::OnDocumentCanceled() { |
- OnDocumentComplete(); |
+ client_->DocumentLoadFailed(); |
snake
2016/11/09 14:27:28
May be more better?:
if (visible_pages_.empty()) {
raymes
2016/11/14 00:36:09
Done.
|
} |
void PDFiumEngine::CancelBrowserDownload() { |