| Index: chrome/browser/resources/options/browser_options.js
|
| diff --git a/chrome/browser/resources/options/browser_options.js b/chrome/browser/resources/options/browser_options.js
|
| index 41b0faebe6a4cbacde9b5444772fd95d33f6df0a..a1ceb1fc37f5631c25d03c328a69edfd8f92a983 100644
|
| --- a/chrome/browser/resources/options/browser_options.js
|
| +++ b/chrome/browser/resources/options/browser_options.js
|
| @@ -194,7 +194,7 @@ cr.define('options', function() {
|
| $('advanced-settings').hidden = true;
|
| }
|
|
|
| - $('advanced-settings').addEventListener('webkitTransitionEnd',
|
| + $('advanced-settings').addEventListener('transitionend',
|
| this.updateAdvancedSettingsExpander_.bind(this));
|
|
|
| if (loadTimeData.valueExists('aboutOverlayTabTitle')) {
|
| @@ -936,7 +936,7 @@ cr.define('options', function() {
|
| // If the section is already animating, dispatch a synthetic transition
|
| // end event as the upcoming code will cancel the current one.
|
| if (section.classList.contains('sliding'))
|
| - cr.dispatchSimpleEvent(section, 'webkitTransitionEnd');
|
| + cr.dispatchSimpleEvent(section, 'transitionend');
|
|
|
| this.addTransitionEndListener_(section);
|
|
|
| @@ -1060,7 +1060,7 @@ cr.define('options', function() {
|
| },
|
|
|
| /**
|
| - * Adds a |webkitTransitionEnd| listener to the given section so that
|
| + * Adds a |transitionend| listener to the given section so that
|
| * it can be animated. The listener will only be added to a given section
|
| * once, so this can be called as multiple times.
|
| * @param {HTMLElement} section The section to be animated.
|
| @@ -1070,14 +1070,14 @@ cr.define('options', function() {
|
| if (section.hasTransitionEndListener_)
|
| return;
|
|
|
| - section.addEventListener('webkitTransitionEnd',
|
| + section.addEventListener('transitionend',
|
| this.onTransitionEnd_.bind(this));
|
| section.hasTransitionEndListener_ = true;
|
| },
|
|
|
| /**
|
| * Called after an animation transition has ended.
|
| - * @param {Event} event The webkitTransitionEnd event. NOTE: May be
|
| + * @param {Event} event The transitionend event. NOTE: May be
|
| * synthetic.
|
| * @private
|
| */
|
|
|