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

Unified Diff: ui/ozone/platform/drm/gpu/hardware_display_plane_manager.cc

Issue 991963002: [Ozone-Drm] More LOG cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « ui/ozone/platform/drm/gpu/gbm_device.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/gpu/hardware_display_plane_manager.cc
diff --git a/ui/ozone/platform/drm/gpu/hardware_display_plane_manager.cc b/ui/ozone/platform/drm/gpu/hardware_display_plane_manager.cc
index f825c7fd6b10116dab0cfda0f9ff03aba0637a2a..ff3222e44199fde4a7fa034d8d1c872d47e06e35 100644
--- a/ui/ozone/platform/drm/gpu/hardware_display_plane_manager.cc
+++ b/ui/ozone/platform/drm/gpu/hardware_display_plane_manager.cc
@@ -75,7 +75,7 @@ bool HardwareDisplayPlaneManager::Initialize(DrmDevice* drm) {
ScopedDrmPlaneResPtr plane_resources(drmModeGetPlaneResources(drm->get_fd()));
if (!plane_resources) {
- LOG(ERROR) << "Failed to get plane resources.";
+ PLOG(ERROR) << "Failed to get plane resources";
return false;
}
@@ -90,7 +90,7 @@ bool HardwareDisplayPlaneManager::Initialize(DrmDevice* drm) {
ScopedDrmPlanePtr drm_plane(
drmModeGetPlane(drm->get_fd(), plane_resources->planes[i]));
if (!drm_plane) {
- LOG(ERROR) << "Failed to get plane " << i << ".";
+ PLOG(ERROR) << "Failed to get plane " << i;
return false;
}
plane_ids.insert(drm_plane->plane_id);
« no previous file with comments | « ui/ozone/platform/drm/gpu/gbm_device.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698