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

Unified Diff: athena/content/app_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/activity/public/activity_view_model.h ('k') | athena/content/app_activity_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/content/app_activity.cc
diff --git a/athena/content/app_activity.cc b/athena/content/app_activity.cc
index 42f6a0e28a606960205cae5880c8a2e9150ed4b3..503e564aca1749465ab120ce4da127d4ae5dc424 100644
--- a/athena/content/app_activity.cc
+++ b/athena/content/app_activity.cc
@@ -20,12 +20,11 @@
namespace athena {
// TODO(mukai): specifies the same accelerators of WebActivity.
-AppActivity::AppActivity(const std::string& app_id,
- views::WebView* web_view)
+AppActivity::AppActivity(const std::string& app_id, views::WebView* web_view)
: app_id_(app_id),
web_view_(web_view),
current_state_(ACTIVITY_UNLOADED),
- app_activity_registry_(NULL) {
+ app_activity_registry_(nullptr) {
Observe(web_view->GetWebContents());
}
@@ -94,11 +93,11 @@ Activity::ActivityMediaState AppActivity::GetMediaState() {
}
aura::Window* AppActivity::GetWindow() {
- return !web_view_ ? NULL : web_view_->GetWidget()->GetNativeWindow();
+ return !web_view_ ? nullptr : web_view_->GetWidget()->GetNativeWindow();
}
content::WebContents* AppActivity::GetWebContents() {
- return !web_view_ ? NULL : web_view_->GetWebContents();
+ return !web_view_ ? nullptr : web_view_->GetWebContents();
}
void AppActivity::Init() {
@@ -198,9 +197,9 @@ void AppActivity::ResetContentsView() {
AppActivity::AppActivity(const std::string& app_id)
: app_id_(app_id),
- web_view_(NULL),
+ web_view_(nullptr),
current_state_(ACTIVITY_UNLOADED),
- app_activity_registry_(NULL) {
+ app_activity_registry_(nullptr) {
}
AppActivity::~AppActivity() {
« no previous file with comments | « athena/activity/public/activity_view_model.h ('k') | athena/content/app_activity_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698