Index: chrome/browser/browser_process_platform_part_chromeos.cc |
diff --git a/chrome/browser/browser_process_platform_part_chromeos.cc b/chrome/browser/browser_process_platform_part_chromeos.cc |
index c8340b71935b94a4d23e7d5dd152b939c0420ae3..08f4c210117ec9a77c6f951022bff53052d0a8eb 100644 |
--- a/chrome/browser/browser_process_platform_part_chromeos.cc |
+++ b/chrome/browser/browser_process_platform_part_chromeos.cc |
@@ -32,7 +32,9 @@ |
BrowserProcessPlatformPart::BrowserProcessPlatformPart() |
: created_profile_helper_(false) {} |
-BrowserProcessPlatformPart::~BrowserProcessPlatformPart() {} |
+BrowserProcessPlatformPart::~BrowserProcessPlatformPart() { |
+ DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); |
+} |
void BrowserProcessPlatformPart::InitializeAutomaticRebootManager() { |
DCHECK(!automatic_reboot_manager_); |
@@ -95,7 +97,7 @@ void BrowserProcessPlatformPart::UnregisterKeepAlive() { |
} |
chromeos::ProfileHelper* BrowserProcessPlatformPart::profile_helper() { |
- DCHECK(CalledOnValidThread()); |
+ DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); |
if (!created_profile_helper_) |
CreateProfileHelper(); |
return profile_helper_.get(); |