| Index: o3d/plugin/cross/stream_manager.cc
|
| diff --git a/o3d/plugin/cross/stream_manager.cc b/o3d/plugin/cross/stream_manager.cc
|
| index 48da1c1c8a499e1a0746f9e4a644f19679ad6621..783b11461792cd6aed7d83cf7d010a68a1704fe4 100644
|
| --- a/o3d/plugin/cross/stream_manager.cc
|
| +++ b/o3d/plugin/cross/stream_manager.cc
|
| @@ -310,7 +310,7 @@ bool StreamManager::NPDownloadStream::URLNotify(NPReason reason) {
|
| // Note that the streaming case (NP_NORMAL) does not get a file
|
| // so we can't check its size
|
| if ((reason != NPRES_DONE) ||
|
| - (stream_type_ != NP_NORMAL && file_.size() == 0)) {
|
| + (stream_type_ != NP_NORMAL && file_.empty())) {
|
| // finished_callback should only be called once.
|
| finished_callback_->Run(this, false, "", "");
|
| finished_callback_.reset(NULL);
|
|
|