Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Unified Diff: views/view_unittest.cc

Issue 1664001: Fixes possible crash if the window hosting a menu was closed while the (Closed)
Patch Set: Incorporated review feedback Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « views/controls/menu/submenu_view.cc ('k') | views/views.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/view_unittest.cc
diff --git a/views/view_unittest.cc b/views/view_unittest.cc
index 8832c434e2a70456ecd0dc2851dc5f84c93e4d7c..617d25cf63727bcdde8d0321dc3c45c9ffb1b2ca 100644
--- a/views/view_unittest.cc
+++ b/views/view_unittest.cc
@@ -687,6 +687,8 @@ class TestViewsDelegate : public views::ViewsDelegate {
virtual HICON GetDefaultWindowIcon() const {
return NULL;
}
+ virtual void AddRef() {}
+ virtual void ReleaseRef() {}
private:
mutable scoped_ptr<Clipboard> clipboard_;
« no previous file with comments | « views/controls/menu/submenu_view.cc ('k') | views/views.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698