diff options
author | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-06 17:56:32 +0000 |
---|---|---|
committer | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-06 17:56:32 +0000 |
commit | 01b3954a67e9738890b27a7b063dfbc4dd46035e (patch) | |
tree | a8cec8517a50c9b005dcca641173d97c8ebf5ee7 | |
parent | 3184c168a680d1d55a5834d4fc16389a7a93f13a (diff) | |
download | chromium_src-01b3954a67e9738890b27a7b063dfbc4dd46035e.zip chromium_src-01b3954a67e9738890b27a7b063dfbc4dd46035e.tar.gz chromium_src-01b3954a67e9738890b27a7b063dfbc4dd46035e.tar.bz2 |
fix build error.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80654 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | courgette/ensemble_create.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/courgette/ensemble_create.cc b/courgette/ensemble_create.cc index 4e285e4..ec33689 100644 --- a/courgette/ensemble_create.cc +++ b/courgette/ensemble_create.cc @@ -361,7 +361,8 @@ Status GenerateEnsemblePatch(SourceStream* base, // SinkStream predicted_ensemble; - predicted_ensemble.Write(base->Buffer(), base->Remaining()); + if (!predicted_ensemble.Write(base->Buffer(), base->Remaining())) + return C_STREAM_ERROR; SourceStreamSet corrected_transformed_elements_source_set; corrected_transformed_elements_source |