Commit cd38ef1c authored by Menglu Huang's avatar Menglu Huang Committed by Commit Bot

Remove become_active DCHECK as it would fail on warm start.

The DCHECK would fail if re-open the app.  Remove the DCHECK.
Warm start would be handled in a separate CL.

Bug: 
Change-Id: I0db26e976322b8e0600a7251757c8bfbc31e4c89
Reviewed-on: https://chromium-review.googlesource.com/572005
Commit-Queue: Menglu Huang <huangml@chromium.org>
Reviewed-by: default avatarRohit Rao <rohitrao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#486837}
parent d8e24d3b
...@@ -28,7 +28,6 @@ void RegisterAppDidFinishLaunchingTime() { ...@@ -28,7 +28,6 @@ void RegisterAppDidFinishLaunchingTime() {
void RegisterAppDidBecomeActiveTime() { void RegisterAppDidBecomeActiveTime() {
DCHECK(g_start_time); DCHECK(g_start_time);
DCHECK(!g_become_active_time);
g_become_active_time = new base::Time(base::Time::Now()); g_become_active_time = new base::Time(base::Time::Now());
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment