Index: third_party/WebKit/Source/devtools/front_end/source_frame/ResourceSourceFrame.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/source_frame/ResourceSourceFrame.js b/third_party/WebKit/Source/devtools/front_end/source_frame/ResourceSourceFrame.js |
index 72962d75f839a1afa1fb2eabe720966bc2ae170d..51b4978cb6c8bea6154140c162a67d629332be4c 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/source_frame/ResourceSourceFrame.js |
+++ b/third_party/WebKit/Source/devtools/front_end/source_frame/ResourceSourceFrame.js |
@@ -59,36 +59,3 @@ WebInspector.ResourceSourceFrame.prototype = { |
__proto__: WebInspector.SourceFrame.prototype |
} |
- |
-/** |
- * @constructor |
- * @extends {WebInspector.VBox} |
- * @param {!WebInspector.ContentProvider} resource |
- */ |
-WebInspector.ResourceSourceFrameFallback = function(resource) |
-{ |
- WebInspector.VBox.call(this); |
- this.registerRequiredCSS("source_frame/resourceSourceFrame.css"); |
- this._resource = resource; |
- this._content = this.element.createChild("div", "resource-source-frame-fallback monospace"); |
-} |
- |
-WebInspector.ResourceSourceFrameFallback.prototype = { |
- wasShown: function() |
- { |
- if (!this._contentRequested) { |
- this._contentRequested = true; |
- this._resource.requestContent(this._contentLoaded.bind(this)); |
- } |
- }, |
- |
- /** |
- * @param {?string} content |
- */ |
- _contentLoaded: function(content) |
- { |
- this._content.textContent = content; |
- }, |
- |
- __proto__: WebInspector.VBox.prototype |
-} |