ata &&
          this.objectSnapshot_.type) {
        this.image_.onload = this.drawPicture_.bind(this);
        this.image_.src = `data:image/${this.objectSnapshot_.type};` +
            `base64,${this.objectSnapshot_.data}`;
      }

      this.drawPicture_();
    },

    drawPicture_() {
      if (!this.image_.complete) return;

      const naturalWidth = this.image_.naturalWidth;
      const naturalHeight = this.image_.naturalHeight;
      this.sizeInfo_.textContent = `(${naturalWidth} x ${naturalHeight