function callback(error)
        {
            if (error)
                return;
            this._canvasAgentEnabled = enable;
            this._updateDecorationElement(true);
            this._dispatchViewUpdatedEvent();
        }
@param {?Protocol.Error} error
@this {WebInspector.CanvasProfileType}