Index: src/pdf/SkPDFDevice.cpp |
diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp |
index 57b52694236bdb31346937aff56e23de5f0c5be8..744d42d25ea169dc4628c6fedbcb29555f928b68 100644 |
--- a/src/pdf/SkPDFDevice.cpp |
+++ b/src/pdf/SkPDFDevice.cpp |
@@ -1533,10 +1533,10 @@ |
return mediaBox; |
} |
-std::unique_ptr<SkStreamAsset> SkPDFDevice::content() const { |
+skstd::unique_ptr<SkStreamAsset> SkPDFDevice::content() const { |
SkDynamicMemoryWStream buffer; |
this->writeContent(&buffer); |
- return std::unique_ptr<SkStreamAsset>( |
+ return skstd::unique_ptr<SkStreamAsset>( |
buffer.bytesWritten() > 0 |
? buffer.detachAsStream() |
: new SkMemoryStream); |