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

Unified Diff: include/core/SkWriter32.h

Issue 1932223003: Remove SkWriter32::contiguousArray(). (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase 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 | « no previous file | src/core/SkPicture.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkWriter32.h
diff --git a/include/core/SkWriter32.h b/include/core/SkWriter32.h
index 26388cd37ea9a735f5da9ef330e4f6eaddcc180a..a5ecb3f24a2c8cca92146fc37a61b138aa2ee31b 100644
--- a/include/core/SkWriter32.h
+++ b/include/core/SkWriter32.h
@@ -51,12 +51,6 @@ public:
fExternal = external;
}
- // Returns the current buffer.
- // The pointer may be invalidated by any future write calls.
- const uint32_t* contiguousArray() const {
- return (uint32_t*)fData;
- }
-
// size MUST be multiple of 4
uint32_t* reserve(size_t size) {
SkASSERT(SkAlign4(size) == size);
« no previous file with comments | « no previous file | src/core/SkPicture.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698