Skip to content

Commit

Permalink
Cleanup a4a/performance's private fields
Browse files Browse the repository at this point in the history
All three seem unused.
  • Loading branch information
jridgewell committed Apr 25, 2018
1 parent fba95e6 commit 44c7b3f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions ads/google/a4a/performance.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,6 @@ export class GoogleAdLifecycleReporter extends BaseLifecycleReporter {
constructor(win, element, slotId) {
super();

/** @private {!Window} @const */
this.win_ = win;

/** @private {!Element} @const */
this.element_ = element;

/** @private {string} @const */
this.namespace_ =
element.getAttribute('data-a4a-upgrade-type') ? 'a4a' : 'amp';
Expand All @@ -147,9 +141,6 @@ export class GoogleAdLifecycleReporter extends BaseLifecycleReporter {
/** @private {number} @const */
this.correlator_ = getCorrelator(win, /* opt_cid */ undefined, element);

/** @private {string} @const */
this.slotName_ = this.namespace_ + '.' + this.slotId_;

// Contortions to convince the type checker that we're type-safe.
let initTime;
const scratch = getTimingDataSync(win, 'navigationStart') || Date.now();
Expand Down

0 comments on commit 44c7b3f

Please sign in to comment.