Index: chrome/browser/resources/ntp4/new_tab.js |
diff --git a/chrome/browser/resources/ntp4/new_tab.js b/chrome/browser/resources/ntp4/new_tab.js |
index df176032abc0cfbf2bcb33893f356f5d0b61b31e..7ad72228aa53f3999f87f387cde7fa602f5ca5db 100644 |
--- a/chrome/browser/resources/ntp4/new_tab.js |
+++ b/chrome/browser/resources/ntp4/new_tab.js |
@@ -377,9 +377,7 @@ cr.define('ntp4', function() { |
function appRemoved(appData) { |
var app = $(appData.id); |
assert(app, 'trying to remove an app that doesn\'t exist'); |
- |
- var tile = findAncestorByClass(app, 'tile'); |
- tile.doRemove(); |
+ app.remove(); |
} |
/** |