Index: athena/content/web_activity.cc |
diff --git a/athena/content/web_activity.cc b/athena/content/web_activity.cc |
index 6f3f31c510d33dfa6b584b99db28236c14321cf8..73b72ec050b9c19f08c532995769df85ced0e982 100644 |
--- a/athena/content/web_activity.cc |
+++ b/athena/content/web_activity.cc |
@@ -370,6 +370,10 @@ class AthenaWebView : public views::WebView { |
return athena::OpenFileChooser(web_contents, params); |
} |
+ virtual void CloseContents(content::WebContents* contents) override { |
+ GetWidget()->Close(); |
oshima
2014/10/16 18:44:48
This may not delete activity. Does the following w
yoshiki
2014/10/16 18:49:58
I'll check whether it works. BTW, should we change
|
+ } |
+ |
private: |
void CreateProgressBar() { |
CHECK(!progress_bar_); |