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

Unified Diff: ui/ozone/platform/dri/native_display_delegate_proxy.cc

Issue 970133004: Add logging to diagnose the display configuration issue on boot/startup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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: ui/ozone/platform/dri/native_display_delegate_proxy.cc
diff --git a/ui/ozone/platform/dri/native_display_delegate_proxy.cc b/ui/ozone/platform/dri/native_display_delegate_proxy.cc
index c92a432f6e82eb54013c1e7e088bf2213359da60..f9d0fa38cca8a40996d8a0761b19cd41f5a4aa5c 100644
--- a/ui/ozone/platform/dri/native_display_delegate_proxy.cc
+++ b/ui/ozone/platform/dri/native_display_delegate_proxy.cc
@@ -106,9 +106,12 @@ void NativeDisplayDelegateProxy::Initialize() {
// Fallback to command line if the file doesn't exit or failed to read.
if (success || CreateSnapshotFromCommandLine(&params)) {
+ LOG_IF(ERROR, !success) << "Failed to read display_info.bin.";
DCHECK_NE(DISPLAY_CONNECTION_TYPE_NONE, params.type);
displays_.push_back(new DriDisplaySnapshotProxy(params, display_manager_));
has_dummy_display_ = true;
+ } else {
+ LOG(ERROR) << "Failed to obtain initial display info";
}
}
« 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