Index: Source/devtools/front_end/emulation/OverridesUI.js |
diff --git a/Source/devtools/front_end/emulation/OverridesUI.js b/Source/devtools/front_end/emulation/OverridesUI.js |
index 185f40cd3dcbeceff7006439ab743bb411d74bb5..f25a3ea627ead651c137448bb2fdccaac4915cba 100644 |
--- a/Source/devtools/front_end/emulation/OverridesUI.js |
+++ b/Source/devtools/front_end/emulation/OverridesUI.js |
@@ -21,14 +21,14 @@ WebInspector.DeviceSelect = function(rotateButton, callback) |
var container = this.element.createChild("div", "mode-container"); |
container.appendChild(this._rotateButton); |
this._rotateButton.addEventListener("click", this._rotateButtonClicked.bind(this), false); |
- WebInspector.Tooltip.install(this._rotateButton, WebInspector.UIString("Change orientation")); |
+ this._rotateButton.title = WebInspector.UIString("Change orientation"); |
var modeSelectContainer = container.createChild("span", "mode-select"); |
this._modeSelectElement = modeSelectContainer.createChild("select"); |
this._modeSelectElement.addEventListener("change", this._modeSelected.bind(this), false); |
this._modeLabelElement = modeSelectContainer.createChild("label"); |
this._modeLabelElement.addEventListener("click", this._rotateButtonClicked.bind(this), false); |
- WebInspector.Tooltip.install(this._modeLabelElement, WebInspector.UIString("Change orientation")); |
+ this._modeLabelElement.title = WebInspector.UIString("Change orientation"); |
this._emulatedSettingChangedMuted = false; |
this._lastOrientation = null; |