diff options
Diffstat (limited to 'chrome/browser/views/extensions')
-rw-r--r-- | chrome/browser/views/extensions/extension_view.cc | 5 | ||||
-rw-r--r-- | chrome/browser/views/extensions/extension_view.h | 4 |
2 files changed, 0 insertions, 9 deletions
diff --git a/chrome/browser/views/extensions/extension_view.cc b/chrome/browser/views/extensions/extension_view.cc index 63f37db..7b39336 100644 --- a/chrome/browser/views/extensions/extension_view.cc +++ b/chrome/browser/views/extensions/extension_view.cc @@ -145,11 +145,6 @@ void ExtensionView::ViewHierarchyChanged(bool is_add, CreateWidgetHostView(); } -void ExtensionView::RecoverCrashedExtension() { - CleanUp(); - CreateWidgetHostView(); -} - void ExtensionView::HandleMouseEvent() { if (container_) container_->OnExtensionMouseEvent(this); diff --git a/chrome/browser/views/extensions/extension_view.h b/chrome/browser/views/extensions/extension_view.h index 75f7a3f..1e08f79 100644 --- a/chrome/browser/views/extensions/extension_view.h +++ b/chrome/browser/views/extensions/extension_view.h @@ -59,10 +59,6 @@ class ExtensionView : public views::NativeViewHost { virtual void ViewHierarchyChanged(bool is_add, views::View *parent, views::View *child); - // Call after extension process crash to re-initialize view, so that - // extension content can be rendered again. - void RecoverCrashedExtension(); - private: friend class ExtensionHost; |