Skip to content

Commit

Permalink
Merge pull request #2 from alexolog/master
Browse files Browse the repository at this point in the history
Removed obsolete interface
  • Loading branch information
Quicksaver committed Dec 15, 2013
2 parents 99f9ee1 + e006e23 commit 2c4e245
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions chrome/content/splitbrowse.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,7 @@ AutoPagerNS.apSplitbrowse = {
if (!aEntry)
return null;
aEntry = aEntry.QueryInterface(Components.interfaces.nsISHContainer);
//var newEntry = aEntry.clone();
var newEntry = Components.classes['@mozilla.org/browser/session-history-entry;1'].createInstance(Components.interfaces.nsISHEntry);
newEntry = newEntry.QueryInterface(Components.interfaces.nsIHistoryEntry);
newEntry = newEntry.QueryInterface(Components.interfaces.nsISHContainer);

newEntry.setURI(aEntry.URI);
newEntry.setTitle(aEntry.title);
Expand Down

0 comments on commit 2c4e245

Please sign in to comment.