summaryrefslogtreecommitdiffstats
path: root/ui/views_content_client
diff options
context:
space:
mode:
authorestade <estade@chromium.org>2015-08-27 13:23:17 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-27 20:24:19 +0000
commit7371a7eecbcf6c536d86c7682f26b1057b3726b1 (patch)
tree2ab9ef6080edf31163850633b334cb9fe9b78637 /ui/views_content_client
parent26a895aaaf71dc36152ee23f2ae643a8aff6ee42 (diff)
downloadchromium_src-7371a7eecbcf6c536d86c7682f26b1057b3726b1.zip
chromium_src-7371a7eecbcf6c536d86c7682f26b1057b3726b1.tar.gz
chromium_src-7371a7eecbcf6c536d86c7682f26b1057b3726b1.tar.bz2
Fix views_examples_exe's resource loading (on NDEBUG builds).
BUG=none Review URL: https://codereview.chromium.org/1317693009 Cr-Commit-Position: refs/heads/master@{#345973}
Diffstat (limited to 'ui/views_content_client')
-rw-r--r--ui/views_content_client/views_content_main_delegate.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/views_content_client/views_content_main_delegate.cc b/ui/views_content_client/views_content_main_delegate.cc
index c930577..11d8a99 100644
--- a/ui/views_content_client/views_content_main_delegate.cc
+++ b/ui/views_content_client/views_content_main_delegate.cc
@@ -60,7 +60,7 @@ bool ViewsContentMainDelegate::BasicStartupComplete(int* exit_code) {
void ViewsContentMainDelegate::PreSandboxStartup() {
base::FilePath ui_test_pak_path;
- DCHECK(PathService::Get(ui::UI_TEST_PAK, &ui_test_pak_path));
+ CHECK(PathService::Get(ui::UI_TEST_PAK, &ui_test_pak_path));
ui::ResourceBundle::InitSharedInstanceWithPakPath(ui_test_pak_path);
// Load content resources to provide, e.g., sandbox configuration data on Mac.