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

Unified Diff: include/ots-memory-stream.h

Issue 6410047: OTS: Adds more layout common table supports.... (Closed) Base URL: http://ots.googlecode.com/svn/trunk/
Patch Set: Created 9 years, 11 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/gdef.h » ('j') | src/gdef.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/ots-memory-stream.h
===================================================================
--- include/ots-memory-stream.h (revision 50)
+++ include/ots-memory-stream.h (working copy)
@@ -18,7 +18,7 @@
: ptr_(ptr), length_(length), off_(0) {
}
- bool WriteRaw(const void *data, size_t length) {
+ virtual bool WriteRaw(const void *data, size_t length) {
Yusuke Sato 2011/02/04 06:12:52 Please be consistent: if you add virtual to WriteR
bashi 2011/02/07 01:17:07 Done.
if ((off_ + length > length_) ||
(length > std::numeric_limits<size_t>::max() - off_)) {
return false;
« no previous file with comments | « no previous file | src/gdef.h » ('j') | src/gdef.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698