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

Unified Diff: pdf/pdf_engine.h

Issue 427583003: Fix UAF in chrome_pdf::Instance::GetURL() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Alternative, more correct fix (but riskier). Created 6 years, 5 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
Index: pdf/pdf_engine.h
diff --git a/pdf/pdf_engine.h b/pdf/pdf_engine.h
index b5bc95da53c03eaac3e63ba9303b0e2696907de9..0d657e695bd826809d72765133c687376405f906 100644
--- a/pdf/pdf_engine.h
+++ b/pdf/pdf_engine.h
@@ -180,6 +180,9 @@ class PDFEngine {
static PDFEngine* Create(Client* client);
virtual ~PDFEngine() {}
+
+ virtual void ClientDestroyed() {}
+
// Most of these functions are similar to the Pepper functions of the same
// name, so not repeating the description here unless it's different.
virtual bool New(const char* url) = 0;
« pdf/instance.cc ('K') | « pdf/instance.cc ('k') | pdf/pdfium/pdfium_engine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698