Skip to content

Commit

Permalink
Remove regenration of sizes for amp-img
Browse files Browse the repository at this point in the history
  • Loading branch information
Dima Voytenko committed Jan 8, 2021
1 parent 4209fe9 commit a0490b4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions builtins/amp-img.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,6 @@ export class AmpImg extends BaseElement {
}
}

/** @override */
onMeasureChanged() {
this.maybeGenerateSizes_(/* sync */ false);
}

/** @override */
preconnectCallback(onLayout) {
// NOTE(@wassgha): since parseSrcset is computationally expensive and can
Expand Down

0 comments on commit a0490b4

Please sign in to comment.