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

Unified Diff: pdf/preview_mode_client.cc

Issue 1645073004: PDF: Fix a crash from r372196 with the print preview PDFEngine client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pdf/pdfium/pdfium_engine.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/preview_mode_client.cc
diff --git a/pdf/preview_mode_client.cc b/pdf/preview_mode_client.cc
index 7c74dabb9cd9802ac580080790d54ef502f5d260..f1c3e4a4ff02e34a374cf0773d034bc8451bd102 100644
--- a/pdf/preview_mode_client.cc
+++ b/pdf/preview_mode_client.cc
@@ -138,8 +138,7 @@ void PreviewModeClient::DocumentLoadFailed() {
}
pp::Instance* PreviewModeClient::GetPluginInstance() {
- NOTREACHED();
- return NULL;
+ return nullptr;
}
void PreviewModeClient::DocumentHasUnsupportedFeature(
« no previous file with comments | « pdf/pdfium/pdfium_engine.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698