Change View.show to call detach if the parentNode dosen't
[WebKit-https.git] / WebCore / page / inspector / SourceView.js
index 8d888e4..b12c42a 100644 (file)
@@ -42,9 +42,9 @@ WebInspector.SourceView = function(resource)
 }
 
 WebInspector.SourceView.prototype = {
-    show: function()
+    show: function(parentElement)
     {
-        WebInspector.ResourceView.prototype.show.call(this);
+        WebInspector.ResourceView.prototype.show.call(this, parentElement);
         this.setupSourceFrameIfNeeded();
     },