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

Unified Diff: components/sync/driver/non_blocking_data_type_controller.cc

Issue 2389063002: [Sync] Fixing easy lint violations. (Closed)
Patch Set: Updated for Max's comments. 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
« no previous file with comments | « components/sync/driver/glue/sync_backend_host_mock.h ('k') | components/sync/driver/startup_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/driver/non_blocking_data_type_controller.cc
diff --git a/components/sync/driver/non_blocking_data_type_controller.cc b/components/sync/driver/non_blocking_data_type_controller.cc
index c72f31b021741071d63856ece9c1336c10768cf1..5df0fc2e5158d9edc6489c7aab4b9bf53f5b94dc 100644
--- a/components/sync/driver/non_blocking_data_type_controller.cc
+++ b/components/sync/driver/non_blocking_data_type_controller.cc
@@ -81,7 +81,7 @@ void NonBlockingDataTypeController::GetAllNodes(
// TODO(gangwu): Casting should happen "near" where the processor factory has
// code that instantiates a new processor.
SharedModelTypeProcessor* processor =
- (SharedModelTypeProcessor*)service->change_processor();
+ static_cast<SharedModelTypeProcessor*>(service->change_processor());
RunOnModelThread(FROM_HERE,
base::Bind(&SharedModelTypeProcessor::GetAllNodes,
base::Unretained(processor),
« no previous file with comments | « components/sync/driver/glue/sync_backend_host_mock.h ('k') | components/sync/driver/startup_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698