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

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

Issue 1938033002: Remove SkBitmapHeap and SkBitmapHeapReader. They're unused. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Restore ability to partially read old SKPs 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/SkWriteBuffer.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
11 #include "SkRefCnt.h" 11 #include "SkRefCnt.h"
12 #include "SkBitmapHeap.h"
13 #include "SkReadBuffer.h" 12 #include "SkReadBuffer.h"
14 #include "SkWriteBuffer.h" 13 #include "SkWriteBuffer.h"
15 #include "SkPath.h" 14 #include "SkPath.h"
16 #include "SkPicture.h" 15 #include "SkPicture.h"
17 #include "SkReader32.h" 16 #include "SkReader32.h"
18 17
19 class SkBitmap; 18 class SkBitmap;
20 19
21 class SkValidatingReadBuffer : public SkReadBuffer { 20 class SkValidatingReadBuffer : public SkReadBuffer {
22 public: 21 public:
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 static bool IsPtrAlign4(const void* ptr) { 78 static bool IsPtrAlign4(const void* ptr) {
80 return SkIsAlign4((uintptr_t)ptr); 79 return SkIsAlign4((uintptr_t)ptr);
81 } 80 }
82 81
83 bool fError; 82 bool fError;
84 83
85 typedef SkReadBuffer INHERITED; 84 typedef SkReadBuffer INHERITED;
86 }; 85 };
87 86
88 #endif // SkValidatingReadBuffer_DEFINED 87 #endif // SkValidatingReadBuffer_DEFINED
OLDNEW
« no previous file with comments | « src/core/SkReadBuffer.cpp ('k') | src/core/SkWriteBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698