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

Unified Diff: pdf/pdfium/pdfium_engine.cc

Issue 1615723003: Fix an assert failure in CXFA_DefFontMgr::GetDefaultFont() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/pdfium/pdfium_engine.cc
diff --git a/pdf/pdfium/pdfium_engine.cc b/pdf/pdfium/pdfium_engine.cc
index 10f11d126bab753e53a370d020b9b6767b8e47c5..6295ce4632950308589e4d247dbf2b10b7e30f01 100644
--- a/pdf/pdfium/pdfium_engine.cc
+++ b/pdf/pdfium/pdfium_engine.cc
@@ -606,6 +606,10 @@ PDFiumEngine::PDFiumEngine(PDFEngine::Client* client)
IFSDK_PAUSE::version = 1;
IFSDK_PAUSE::user = NULL;
IFSDK_PAUSE::NeedToPauseNow = Pause_NeedToPauseNow;
+
+#if defined(OS_LINUX)
+ g_last_instance_id = client_->GetPluginInstance()->pp_instance();
+#endif
}
PDFiumEngine::~PDFiumEngine() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698