diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-06 11:56:38 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-06 11:56:38 +0100 |
commit | 11580babbfb1b8ae0acab2400f11d905c35642f5 (patch) | |
tree | 3b26fcd4bf7afe9ff92203468ba7cd95e192d55f /Libraries/LibHTML/CSS/StyleValue.h | |
parent | 939a605334a71dd8b7af91cdcbe9047281f7b5b9 (diff) | |
download | serenity-11580babbfb1b8ae0acab2400f11d905c35642f5.zip |
LibDraw: Put all classes in the Gfx namespace
I started adding things to a Draw namespace, but it somehow felt really
wrong seeing Draw::Rect and Draw::Bitmap, etc. So instead, let's rename
the library to LibGfx. :^)
Diffstat (limited to 'Libraries/LibHTML/CSS/StyleValue.h')
-rw-r--r-- | Libraries/LibHTML/CSS/StyleValue.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibHTML/CSS/StyleValue.h b/Libraries/LibHTML/CSS/StyleValue.h index ce9573d25b..0ab130ea45 100644 --- a/Libraries/LibHTML/CSS/StyleValue.h +++ b/Libraries/LibHTML/CSS/StyleValue.h @@ -213,12 +213,12 @@ public: String to_string() const override { return String::format("Image{%s}", m_url.to_string().characters()); } - const GraphicsBitmap* bitmap() const { return m_bitmap; } + const Gfx::Bitmap* bitmap() const { return m_bitmap; } private: ImageStyleValue(const URL&, Document&); URL m_url; WeakPtr<Document> m_document; - RefPtr<GraphicsBitmap> m_bitmap; + RefPtr<Gfx::Bitmap> m_bitmap; }; |