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

Unified Diff: athena/test/base/sample_activity.cc

Issue 653563004: NULL -> nullptr under athena/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 6 years, 2 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 | « athena/test/base/athena_test_helper.cc ('k') | athena/util/fill_layout_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/test/base/sample_activity.cc
diff --git a/athena/test/base/sample_activity.cc b/athena/test/base/sample_activity.cc
index 2c4bd65575b188b756f895573061e599d55a6e67..43495e7b520a0a679711178ad120da0f67e0b382 100644
--- a/athena/test/base/sample_activity.cc
+++ b/athena/test/base/sample_activity.cc
@@ -18,7 +18,7 @@ SampleActivity::SampleActivity(SkColor color,
: color_(color),
contents_color_(contents_color),
title_(title),
- contents_view_(NULL),
+ contents_view_(nullptr),
current_state_(ACTIVITY_UNLOADED) {
}
@@ -46,12 +46,12 @@ Activity::ActivityMediaState SampleActivity::GetMediaState() {
}
aura::Window* SampleActivity::GetWindow() {
- return !contents_view_ ? NULL
+ return !contents_view_ ? nullptr
: contents_view_->GetWidget()->GetNativeWindow();
}
content::WebContents* SampleActivity::GetWebContents() {
- return NULL;
+ return nullptr;
}
void SampleActivity::Init() {
@@ -83,7 +83,7 @@ views::View* SampleActivity::GetContentsView() {
}
views::Widget* SampleActivity::CreateWidget() {
- return NULL;
+ return nullptr;
}
gfx::ImageSkia SampleActivity::GetOverviewModeImage() {
« no previous file with comments | « athena/test/base/athena_test_helper.cc ('k') | athena/util/fill_layout_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698