diff options
author | Andreas Kling <kling@serenityos.org> | 2020-03-05 16:30:27 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-03-05 16:31:03 +0100 |
commit | 6d66462254089112d9acf3d564bc3cb6c0b23191 (patch) | |
tree | a197521b5e6e1bb970092a4dab7a5599f75ff235 /DevTools/Inspector/main.cpp | |
parent | fbf345e03e3aaf2e98924dee96de736291f68d3f (diff) | |
download | serenity-6d66462254089112d9acf3d564bc3cb6c0b23191.zip |
Inspector: Store remote object addresses as uintptr_t instead of String
Diffstat (limited to 'DevTools/Inspector/main.cpp')
-rw-r--r-- | DevTools/Inspector/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/DevTools/Inspector/main.cpp b/DevTools/Inspector/main.cpp index e0d715a0cc..1b4e583293 100644 --- a/DevTools/Inspector/main.cpp +++ b/DevTools/Inspector/main.cpp @@ -86,7 +86,7 @@ int main(int argc, char** argv) tree_view.on_activation = [&](auto& index) { auto* remote_object = static_cast<RemoteObject*>(index.internal_data()); properties_table_view.set_model(remote_object->property_model()); - remote_process.set_inspected_object(remote_object->json.get("address").to_number<uintptr_t>()); + remote_process.set_inspected_object(remote_object->address); }; window->show(); |