We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b64b5a commit d46cb33Copy full SHA for d46cb33
cobalt/browser/cobalt_browser_main_parts.cc
@@ -51,12 +51,10 @@ int CobaltBrowserMainParts::PreMainMessageLoopRun() {
51
StartMetricsRecording();
52
53
#if !BUILDFLAG(IS_ANDROIDTV)
54
- if (auto* client = CobaltContentBrowserClient::Get()) {
55
- client->SetUserAgentCrashAnnotation();
56
- } else {
57
- CHECK(false) << "CobaltContentBrowserClient::Get() returned NULL in "
58
- << "PreMainMessageLoopRun!";
59
- }
+ auto* client = CobaltContentBrowserClient::Get();
+ CHECK(client) << "CobaltContentBrowserClient::Get() returned NULL in "
+ << "PreMainMessageLoopRun!";
+ client->SetUserAgentCrashAnnotation();
60
61
#endif // !BUILDFLAG(IS_ANDROIDTV)
62
0 commit comments