Fix jumping to a text position when showing a resource.
https://bugs.webkit.org/show_bug.cgi?id=127271 Reviewed by Joseph Pecoraro. * UserInterface/FrameContentView.js: (WebInspector.FrameContentView.prototype.showSourceCode): Just use showResponse's arguments which already does the same logic to call revealPosition. * UserInterface/ResourceClusterContentView.js: (WebInspector.ResourceClusterContentView.prototype.restoreFromCookie): This was the bug. lineNumber and columnNumber need honored here. They were only honored by FrameContentView. * UserInterface/ResourceSidebarPanel.js: (WebInspector.ResourceSidebarPanel.prototype.showSourceCode): Use showContentViewForRepresentedObject which also accepts a cookie and handles creating the content view for us. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162361 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Showing with 23 additions and 10 deletions