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

Unified Diff: components/sync/engine_impl/attachments/attachment_downloader_impl.cc

Issue 2427803002: [Sync] Replacing NULL with nullptr in code and null in comments for components/sync/ (Closed)
Patch Set: Fixing start of sentence capitlization. Created 4 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
Index: components/sync/engine_impl/attachments/attachment_downloader_impl.cc
diff --git a/components/sync/engine_impl/attachments/attachment_downloader_impl.cc b/components/sync/engine_impl/attachments/attachment_downloader_impl.cc
index 7835c2fe1add8e28e95e3bedcc39f0ec6b81a434..13a69b2c166cb80671e40a680ccbca5d0ea7324a 100644
--- a/components/sync/engine_impl/attachments/attachment_downloader_impl.cc
+++ b/components/sync/engine_impl/attachments/attachment_downloader_impl.cc
@@ -225,7 +225,7 @@ void AttachmentDownloaderImpl::RequestAccessToken(
DownloadState* download_state) {
requests_waiting_for_access_token_.push_back(download_state);
// Start access token request if there is no active one.
- if (access_token_request_ == NULL) {
+ if (access_token_request_ == nullptr) {
access_token_request_ = OAuth2TokenServiceRequest::CreateAndStart(
token_service_provider_.get(), account_id_, oauth2_scopes_, this);
}
« no previous file with comments | « components/sync/engine_impl/apply_control_data_updates_unittest.cc ('k') | components/sync/engine_impl/commit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698