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

Unified Diff: include/core/SkFlattenableBuffers.h

Issue 106943002: Fixed a few places where uninitialized memory could have been read (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Added missing change in SkColorFilters Created 7 years 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 | samplecode/SampleFilterFuzz.cpp » ('j') | samplecode/SampleFilterFuzz.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkFlattenableBuffers.h
diff --git a/include/core/SkFlattenableBuffers.h b/include/core/SkFlattenableBuffers.h
index 575dec8917661d3356f0e2035aecb0033c5dceeb..768e048d3bbbd2ede240091dabb9ec28913e6ad7 100644
--- a/include/core/SkFlattenableBuffers.h
+++ b/include/core/SkFlattenableBuffers.h
@@ -153,6 +153,7 @@ public:
* @param isValid result of a test that is expected to be true
*/
virtual bool validate(bool isValid);
+ virtual bool isValid() const { return true; }
reed1 2013/12/05 21:35:23 Please add some dox. What is valid? When is it not
sugoi1 2013/12/06 18:39:04 Done.
private:
template <typename T> T* readFlattenableT();
« no previous file with comments | « no previous file | samplecode/SampleFilterFuzz.cpp » ('j') | samplecode/SampleFilterFuzz.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698