Actually, we wrote only size bytes.
BUG=skia: R=halcanary@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/188343004 git-svn-id: http://skia.googlecode.com/svn/trunk@13688 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
d10913b8a9
commit
0438645c72
@ -818,7 +818,7 @@ bool SkDebugWStream::write(const void* buffer, size_t size)
|
||||
s[size] = 0;
|
||||
SkDebugf("%s", s);
|
||||
delete[] s;
|
||||
fBytesWritten += size+1;
|
||||
fBytesWritten += size;
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user