Change View.show to call detach if the parentNode dosen't
[WebKit-https.git] / WebCore / page / inspector / FontView.js
index 2059c04..cafff31 100644 (file)
@@ -45,9 +45,9 @@ WebInspector.FontView = function(resource)
 }
 
 WebInspector.FontView.prototype = {
-    show: function()
+    show: function(parentElement)
     {
-        WebInspector.ResourceView.prototype.show.call(this);
+        WebInspector.ResourceView.prototype.show.call(this, parentElement);
         this.updateFontPreviewSize();
     },