From 01b3954a67e9738890b27a7b063dfbc4dd46035e Mon Sep 17 00:00:00 2001 From: "tommi@chromium.org" Date: Wed, 6 Apr 2011 17:56:32 +0000 Subject: fix build error. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80654 0039d316-1c4b-4281-b951-d872f2087c98 --- courgette/ensemble_create.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'courgette/ensemble_create.cc') 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 -- cgit v1.1