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

Unified Diff: pdf/pdfium/pdfium_engine.cc

Issue 2258523004: Remove an unneeded variable in PDF's ScopedUnsupportedFeature. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: const Created 4 years, 4 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.h ('k') | 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 6859b01a6a3d36b1cc89848d53c87b6a62df9700..3ffd098b5757a43f7e66a31eeff9a1009388af5f 100644
--- a/pdf/pdfium/pdfium_engine.cc
+++ b/pdf/pdfium/pdfium_engine.cc
@@ -3692,8 +3692,8 @@ FPDF_BOOL PDFiumEngine::Pause_NeedToPauseNow(IFSDK_PAUSE* param) {
}
ScopedUnsupportedFeature::ScopedUnsupportedFeature(PDFiumEngine* engine)
- : engine_(engine), old_engine_(g_engine_for_unsupported) {
- g_engine_for_unsupported = engine_;
+ : old_engine_(g_engine_for_unsupported) {
+ g_engine_for_unsupported = engine;
}
ScopedUnsupportedFeature::~ScopedUnsupportedFeature() {
« no previous file with comments | « pdf/pdfium/pdfium_engine.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698