chrome style plugin: remove check-auto-raw-pointer option

This is always enabled now, so the corresponding flag can be removed.
https://chromium-review.googlesource.com/734132
This commit is contained in:
deepak1556 2018-04-25 15:02:00 +05:30 committed by Samuel Attard
parent 3ac4c1f03f
commit 8f00240c73
2 changed files with 1 additions and 9 deletions

View file

@ -128,7 +128,7 @@ void PlatformNotificationService::ClosePersistentNotification(
void PlatformNotificationService::CloseNotification(
content::BrowserContext* browser_context,
const std::string& notification_id) {
auto presenter = browser_client_->GetNotificationPresenter();
auto* presenter = browser_client_->GetNotificationPresenter();
if (!presenter)
return;
presenter->CloseNotificationWithId(notification_id);

View file

@ -147,10 +147,6 @@
"-add-plugin",
"-Xclang",
"find-bad-constructs",
"-Xclang",
"-plugin-arg-find-bad-constructs",
"-Xclang",
"check-auto-raw-pointer",
],
},
}, { # OS=="mac"
@ -163,10 +159,6 @@
"-add-plugin",
"-Xclang",
"find-bad-constructs",
"-Xclang",
"-plugin-arg-find-bad-constructs",
"-Xclang",
"check-auto-raw-pointer",
],
}],
],