mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:17:44 +00:00
AK+Everywhere: Rename JsonObject::get() to ::get_deprecated()
This is a preparatory step to making `get()` return `ErrorOr`.
This commit is contained in:
parent
efe4329f9f
commit
1dd6b7f5b7
76 changed files with 671 additions and 671 deletions
|
@ -1237,11 +1237,11 @@ ImageEditor& MainWidget::create_new_editor(NonnullRefPtr<Image> image)
|
|||
if (!value.is_object())
|
||||
return;
|
||||
auto& json_object = value.as_object();
|
||||
auto orientation_value = json_object.get("orientation"sv);
|
||||
auto orientation_value = json_object.get_deprecated("orientation"sv);
|
||||
if (!orientation_value.is_string())
|
||||
return;
|
||||
|
||||
auto offset_value = json_object.get("offset"sv);
|
||||
auto offset_value = json_object.get_deprecated("offset"sv);
|
||||
if (!offset_value.is_number())
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue