Remove base/logging.h in a whole lot more places.

This commit is contained in:
Henrik Rydgård committed 2020-08-15 19:09:00 +02:00
1 parent 5eb13378c6
commit c41f875df4
36 files changed
+136 -127

No files matched your search

+4 -2
View File
@@ -7,6 +7,8 @@
#include "ui/root.h"
#include "ui/viewgroup.h"
#include "Common/Log.h"
namespace UI {
static std::mutex focusLock;
@@ -109,7 +111,7 @@ bool IsFocusMovementEnabled() {
void LayoutViewHierarchy(const UIContext &dc, ViewGroup *root, bool ignoreInsets) {
if (!root) {
ELOG("Tried to layout a view hierarchy from a zero pointer root");
ERROR_LOG(SYSTEM, "Tried to layout a view hierarchy from a zero pointer root");
return;
}
@@ -358,7 +360,7 @@ void UpdateViewHierarchy(ViewGroup *root) {
frameCount++;
if (!root) {
ELOG("Tried to update a view hierarchy from a zero pointer root");
ERROR_LOG(SYSTEM, "Tried to update a view hierarchy from a zero pointer root");
return;
}