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

Unified Diff: content/browser/mojo/mojo_shell_context.cc

Issue 1905553003: Adds DCHECK to BuiltinManifestProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/mojo/mojo_shell_context.cc
diff --git a/content/browser/mojo/mojo_shell_context.cc b/content/browser/mojo/mojo_shell_context.cc
index 3c5636c7f4f8591d5695b1d51f2027e73edaaf96..0b134bdd885d086e933e47a5d8035cadfb1b7506 100644
--- a/content/browser/mojo/mojo_shell_context.cc
+++ b/content/browser/mojo/mojo_shell_context.cc
@@ -148,6 +148,7 @@ class MojoShellContext::BuiltinManifestProvider
return false;
*manifest_contents = GetContentClient()->GetDataResource(
it->second, ui::ScaleFactor::SCALE_FACTOR_NONE).as_string();
+ DCHECK(!manifest_contents->empty());
return true;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698