mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +00:00
Ladybird+LibWebView: Respawn with same JS interpreter after crash
WebView::ViewImplementation now remembers which JS interpreter it started with, and uses the same setting if the WebContent process crashes and we have to spawn a new one.
This commit is contained in:
@@ -55,7 +55,7 @@ public:
|
||||
void set_content_scales_to_viewport(bool);
|
||||
|
||||
private:
|
||||
OutOfProcessWebView();
|
||||
explicit OutOfProcessWebView(UseJavaScriptBytecode = UseJavaScriptBytecode::No);
|
||||
|
||||
// ^Widget
|
||||
virtual void paint_event(GUI::PaintEvent&) override;
|
||||
@@ -78,7 +78,7 @@ private:
|
||||
virtual void did_scroll() override;
|
||||
|
||||
// ^WebView::ViewImplementation
|
||||
virtual void create_client(EnableCallgrindProfiling = EnableCallgrindProfiling::No, UseJavaScriptBytecode = UseJavaScriptBytecode::No) override;
|
||||
virtual void create_client(EnableCallgrindProfiling = EnableCallgrindProfiling::No) override;
|
||||
virtual void update_zoom() override;
|
||||
virtual void notify_server_did_layout(Badge<WebContentClient>, Gfx::IntSize content_size) override;
|
||||
virtual void notify_server_did_paint(Badge<WebContentClient>, i32 bitmap_id, Gfx::IntSize) override;
|
||||
|
||||
Reference in New Issue
Block a user