Chromium Code Reviews| Index: Source/devtools/front_end/Dialog.js |
| diff --git a/Source/devtools/front_end/Dialog.js b/Source/devtools/front_end/Dialog.js |
| index 7e9406dbf5a08d2452e8e81826cae1f405448e38..51ab033e651873558ef035440170c580877a1ddb 100644 |
| --- a/Source/devtools/front_end/Dialog.js |
| +++ b/Source/devtools/front_end/Dialog.js |
| @@ -56,6 +56,7 @@ WebInspector.Dialog = function(relativeToElement, delegate) |
| this._position(); |
| this._delegate.focus(); |
| + WebInspector.context.setFlavor(WebInspector.Dialog, this); |
|
pfeldman
2014/04/17 10:40:25
I don't think this makes sense.
apavlov
2014/04/17 12:42:22
Done.
|
| } |
| /** |
| @@ -95,6 +96,7 @@ WebInspector.Dialog.prototype = { |
| delete WebInspector.Dialog._instance; |
| this._glassPane.dispose(); |
| + WebInspector.context.setFlavor(WebInspector.Dialog, null); |
| }, |
| _onGlassPaneFocus: function(event) |