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

Side by Side Diff: src/pdf/SkDeflate.h

Issue 1837553002: SkPDF s/SkAutoTDelete/std::unique_ptr/ (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-03-28 (Monday) 10:22:50 EDT 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 unified diff | Download patch
« no previous file with comments | « no previous file | src/pdf/SkPDFBitmap.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2010 The Android Open Source Project 2 * Copyright 2010 The Android Open Source Project
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 8
9 #ifndef SkFlate_DEFINED 9 #ifndef SkFlate_DEFINED
10 #define SkFlate_DEFINED 10 #define SkFlate_DEFINED
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 /** Write the end of the compressed stream. All subsequent calls to 42 /** Write the end of the compressed stream. All subsequent calls to
43 write() will fail. Subsequent calls to finalize() do nothing. */ 43 write() will fail. Subsequent calls to finalize() do nothing. */
44 void finalize(); 44 void finalize();
45 45
46 // The SkWStream interface: 46 // The SkWStream interface:
47 bool write(const void*, size_t) override; 47 bool write(const void*, size_t) override;
48 size_t bytesWritten() const override; 48 size_t bytesWritten() const override;
49 49
50 private: 50 private:
51 struct Impl; 51 struct Impl;
52 SkAutoTDelete<Impl> fImpl; 52 std::unique_ptr<Impl> fImpl;
53 }; 53 };
54 54
55 #endif // SkFlate_DEFINED 55 #endif // SkFlate_DEFINED
OLDNEW
« no previous file with comments | « no previous file | src/pdf/SkPDFBitmap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698