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

Unified Diff: views/controls/table/table_view_unittest.cc

Issue 7189019: Fix even more crashes. To help identify remaining crashes now and in the future, I have made the ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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
Index: views/controls/table/table_view_unittest.cc
===================================================================
--- views/controls/table/table_view_unittest.cc (revision 89357)
+++ views/controls/table/table_view_unittest.cc (working copy)
@@ -141,12 +141,18 @@
class TableViewTest : public testing::Test, views::WidgetDelegate {
public:
- virtual void SetUp();
- virtual void TearDown();
+ virtual void SetUp() OVERRIDE;
+ virtual void TearDown() OVERRIDE;
- virtual views::View* GetContentsView() {
+ virtual views::View* GetContentsView() OVERRIDE {
return table_;
}
+ virtual views::Widget* GetWidget() OVERRIDE {
+ return table_->GetWidget();
+ }
+ virtual const views::Widget* GetWidget() const OVERRIDE {
+ return table_->GetWidget();
+ }
protected:
// Creates the model.
@@ -471,9 +477,15 @@
virtual void SetUp();
virtual void TearDown();
- virtual views::View* GetContentsView() {
+ virtual views::View* GetContentsView() OVERRIDE {
return table_;
}
+ virtual views::Widget* GetWidget() OVERRIDE {
+ return table_->GetWidget();
+ }
+ virtual const views::Widget* GetWidget() const OVERRIDE {
+ return table_->GetWidget();
+ }
// Returns the contents of a cell in the table.
std::wstring GetCellValue(int row, int column);

Powered by Google App Engine
This is Rietveld 408576698