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

Unified Diff: pdf/out_of_process_instance.h

Issue 1323943011: Fix memory leak of PreviewModeClient in PDF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 | « no previous file | pdf/out_of_process_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/out_of_process_instance.h
diff --git a/pdf/out_of_process_instance.h b/pdf/out_of_process_instance.h
index 1215f192bcf34c8c94220a8bcf9944676bcd8842..7e8a7c634a1102906fc5d826ee22c2cc6df8dbeb 100644
--- a/pdf/out_of_process_instance.h
+++ b/pdf/out_of_process_instance.h
@@ -261,6 +261,7 @@ class OutOfProcessInstance : public pp::Instance,
// used only in print preview mode. This will use |PreviewModeClient|
// interface which has very limited access to the pp::Instance.
scoped_ptr<PDFEngine> preview_engine_;
+ scoped_ptr<PreviewModeClient> preview_client_;
Lei Zhang 2015/09/07 19:31:46 Doesn't member destruction go bottom up? i.e. as i
raymes 2015/09/07 23:59:00 Done.
std::string url_;
« no previous file with comments | « no previous file | pdf/out_of_process_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698