summaryrefslogtreecommitdiff
path: root/AK/Bitmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'AK/Bitmap.h')
-rw-r--r--AK/Bitmap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/AK/Bitmap.h b/AK/Bitmap.h
index 9c7a468829..8d8deda091 100644
--- a/AK/Bitmap.h
+++ b/AK/Bitmap.h
@@ -148,6 +148,8 @@ public:
return count;
}
+ bool is_null() const { return !m_data; }
+
u8* data() { return m_data; }
const u8* data() const { return m_data; }