function processRecord(record, depth)
        {
            var visible = this.isVisible(record.traceEvent());
            if (visible) {
                if (callback(record, depth))
                    return true;
            }

            for (var i = 0; i < record.children().length; ++i) {
                if (processRecord.call(this, record.children()[i], visible ? depth + 1 : depth))
                    return true;
            }
            return false;
        }
@param {!WebInspector.TimelineModel.Record} record
@param {number} depth
@this {WebInspector.TimelineModel}
@return {boolean}