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

Side by Side Diff: src/core/SkValidatingReadBuffer.h

Issue 1936103002: Remove unused encodedString API on SkWriteBuffer/SkReadBuffer (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 7 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 | « src/core/SkReadBuffer.cpp ('k') | src/core/SkValidatingReadBuffer.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 2013 Google Inc. 2 * Copyright 2013 Google Inc.
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 #ifndef SkValidatingReadBuffer_DEFINED 8 #ifndef SkValidatingReadBuffer_DEFINED
9 #define SkValidatingReadBuffer_DEFINED 9 #define SkValidatingReadBuffer_DEFINED
10 10
(...skipping 24 matching lines...) Expand all
35 int32_t readInt() override; 35 int32_t readInt() override;
36 SkScalar readScalar() override; 36 SkScalar readScalar() override;
37 uint32_t readUInt() override; 37 uint32_t readUInt() override;
38 int32_t read32() override; 38 int32_t read32() override;
39 39
40 // peek 40 // peek
41 uint8_t peekByte() override; 41 uint8_t peekByte() override;
42 42
43 // strings -- the caller is responsible for freeing the string contents 43 // strings -- the caller is responsible for freeing the string contents
44 void readString(SkString* string) override; 44 void readString(SkString* string) override;
45 void* readEncodedString(size_t* length, SkPaint::TextEncoding encoding) over ride;
46 45
47 // common data structures 46 // common data structures
48 SkFlattenable* readFlattenable(SkFlattenable::Type type) override; 47 SkFlattenable* readFlattenable(SkFlattenable::Type type) override;
49 void skipFlattenable() override; 48 void skipFlattenable() override;
50 void readPoint(SkPoint* point) override; 49 void readPoint(SkPoint* point) override;
51 void readMatrix(SkMatrix* matrix) override; 50 void readMatrix(SkMatrix* matrix) override;
52 void readIRect(SkIRect* rect) override; 51 void readIRect(SkIRect* rect) override;
53 void readRect(SkRect* rect) override; 52 void readRect(SkRect* rect) override;
54 void readRRect(SkRRect* rrect) override; 53 void readRRect(SkRRect* rrect) override;
55 void readRegion(SkRegion* region) override; 54 void readRegion(SkRegion* region) override;
(...skipping 25 matching lines...) Expand all
81 static bool IsPtrAlign4(const void* ptr) { 80 static bool IsPtrAlign4(const void* ptr) {
82 return SkIsAlign4((uintptr_t)ptr); 81 return SkIsAlign4((uintptr_t)ptr);
83 } 82 }
84 83
85 bool fError; 84 bool fError;
86 85
87 typedef SkReadBuffer INHERITED; 86 typedef SkReadBuffer INHERITED;
88 }; 87 };
89 88
90 #endif // SkValidatingReadBuffer_DEFINED 89 #endif // SkValidatingReadBuffer_DEFINED
OLDNEW
« no previous file with comments | « src/core/SkReadBuffer.cpp ('k') | src/core/SkValidatingReadBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698