summaryrefslogtreecommitdiffstats
path: root/cc/output/copy_output_request.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/output/copy_output_request.cc')
-rw-r--r--cc/output/copy_output_request.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/cc/output/copy_output_request.cc b/cc/output/copy_output_request.cc
index 2d42fa9..97b95e1 100644
--- a/cc/output/copy_output_request.cc
+++ b/cc/output/copy_output_request.cc
@@ -46,8 +46,9 @@ CopyOutputRequest::~CopyOutputRequest() {
}
void CopyOutputRequest::SendResult(scoped_ptr<CopyOutputResult> result) {
+ bool success = !result->IsEmpty();
base::ResetAndReturn(&result_callback_).Run(result.Pass());
- TRACE_EVENT_ASYNC_END0("cc", "CopyOutputRequest", this);
+ TRACE_EVENT_ASYNC_END1("cc", "CopyOutputRequest", this, "success", success);
}
void CopyOutputRequest::SendEmptyResult() {