summaryrefslogtreecommitdiff
path: root/Userland/Applications/HexEditor/HexEditor.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/HexEditor/HexEditor.h')
-rw-r--r--Userland/Applications/HexEditor/HexEditor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/HexEditor/HexEditor.h b/Userland/Applications/HexEditor/HexEditor.h
index d7e085b49c..7207134e4d 100644
--- a/Userland/Applications/HexEditor/HexEditor.h
+++ b/Userland/Applications/HexEditor/HexEditor.h
@@ -35,10 +35,10 @@ public:
size_t buffer_size() const { return m_document->size(); }
ErrorOr<void> open_new_file(size_t size);
- void open_file(NonnullRefPtr<Core::File> file);
+ void open_file(NonnullOwnPtr<Core::Stream::File> file);
ErrorOr<void> fill_selection(u8 fill_byte);
Optional<u8> get_byte(size_t position);
- bool save_as(NonnullRefPtr<Core::File>);
+ bool save_as(NonnullOwnPtr<Core::Stream::File>);
bool save();
bool undo();