Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / devtools / front_end / network / NetworkItemView.js
index 676048a..4f1756b 100644 (file)
@@ -43,7 +43,7 @@ WebInspector.NetworkItemView = function(request)
 
     this.addEventListener(WebInspector.TabbedPane.EventTypes.TabSelected, this._tabSelected, this);
 
-    if (request.type === WebInspector.resourceTypes.WebSocket) {
+    if (request.resourceType() === WebInspector.resourceTypes.WebSocket) {
         var frameView = new WebInspector.ResourceWebSocketFrameView(request);
         this.appendTab("webSocketFrames", WebInspector.UIString("Frames"), frameView);
     } else {
@@ -132,14 +132,6 @@ WebInspector.RequestContentView = function(request)
 
 WebInspector.RequestContentView.prototype = {
     /**
-     * @return {boolean}
-     */
-    hasContent: function()
-    {
-        return true;
-    },
-
-    /**
      * @return {!WebInspector.View}
      */
     get innerView()