Skip to content

Commit

Permalink
options: remove dead chrome.send() from "Import data" overlay.
Browse files Browse the repository at this point in the history
Fixes a DCHECK() when this message isn't handled.

R=isherman@chromium.org
BUG=354324

Review URL: https://codereview.chromium.org/260483002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267475 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
dbeam@chromium.org committed May 1, 2014
1 parent 489465d commit 3dbc64c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions chrome/browser/resources/options/import_data_overlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,6 @@ cr.define('options', function() {
chrome.send('chooseBookmarksFile');
};

$('import-data-show-bookmarks-bar').onchange = function() {
// Note: The callback 'toggleShowBookmarksBar' is handled within the
// browser options handler -- rather than the import data handler --
// as the implementation is shared by several clients.
chrome.send('toggleShowBookmarksBar');
}

$('import-data-confirm').onclick = function() {
ImportDataOverlay.dismiss();
};
Expand Down

0 comments on commit 3dbc64c

Please sign in to comment.