Index: Source/devtools/front_end/elements/AnimationsSidebarPane.js |
diff --git a/Source/devtools/front_end/elements/AnimationsSidebarPane.js b/Source/devtools/front_end/elements/AnimationsSidebarPane.js |
index 9c615f4dbd050041d2f5716774a287574d17dbe7..417854d28df64e9577976ff0ef8612e26c97e033 100644 |
--- a/Source/devtools/front_end/elements/AnimationsSidebarPane.js |
+++ b/Source/devtools/front_end/elements/AnimationsSidebarPane.js |
@@ -177,8 +177,8 @@ WebInspector.AnimationSection.prototype = { |
*/ |
function updatePauseButton(paused) |
{ |
- this._pauseButton.state = paused; |
- this._pauseButton.title = paused ? WebInspector.UIString("Play animation") : WebInspector.UIString("Pause animation"); |
+ this._pauseButton.setToggled(paused); |
+ this._pauseButton.setTitle(paused ? WebInspector.UIString("Play animation") : WebInspector.UIString("Pause animation")); |
} |
this._pauseButton = new WebInspector.StatusBarButton("", "animation-pause"); |