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

Unified Diff: pdf/pdfium/pdfium_engine.h

Issue 1881013004: Convert pdf/ to use std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/out_of_process_instance.h ('k') | pdf/pdfium/pdfium_engine.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/pdfium/pdfium_engine.h
diff --git a/pdf/pdfium/pdfium_engine.h b/pdf/pdfium/pdfium_engine.h
index e0b8af5bb8a07bdff68a99087b402e5fe6710d15..ec3c80dcce9376ea7b79441ede33ba8995a2b355 100644
--- a/pdf/pdfium/pdfium_engine.h
+++ b/pdf/pdfium/pdfium_engine.h
@@ -9,12 +9,12 @@
#include <stdint.h>
#include <map>
+#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
#include "pdf/document_loader.h"
#include "pdf/pdf_engine.h"
@@ -704,7 +704,7 @@ class PDFiumEngine : public PDFEngine,
int progressive_paint_timeout_;
// Shadow matrix for generating the page shadow bitmap.
- scoped_ptr<ShadowMatrix> page_shadow_;
+ std::unique_ptr<ShadowMatrix> page_shadow_;
// Set to true if the user is being prompted for their password. Will be set
// to false after the user finishes getting their password.
« no previous file with comments | « pdf/out_of_process_instance.h ('k') | pdf/pdfium/pdfium_engine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698