File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- 1220
1+ 1221
Original file line number Diff line number Diff line change @@ -2376,7 +2376,7 @@ index b67e89b80b4e7a8586cac81ade5d58a1bcb0d431..c468bc0981d1fb13272b28095f9f7584
23762376 {
23772377 FAST_RETURN_IF_NO_FRONTENDS(false);
23782378diff --git a/Source/WebCore/inspector/agents/InspectorDOMAgent.cpp b/Source/WebCore/inspector/agents/InspectorDOMAgent.cpp
2379- index 25828457119ce81b5283fd03b96fe0ced56d93f8..565b0731690457676b74f77576e8ce7d5d8bd84a 100644
2379+ index 25828457119ce81b5283fd03b96fe0ced56d93f8..aed882b1f46d1a302d705077c42335fb26b8ee32 100644
23802380--- a/Source/WebCore/inspector/agents/InspectorDOMAgent.cpp
23812381+++ b/Source/WebCore/inspector/agents/InspectorDOMAgent.cpp
23822382@@ -61,12 +61,16 @@
@@ -2545,7 +2545,7 @@ index 25828457119ce81b5283fd03b96fe0ced56d93f8..565b0731690457676b74f77576e8ce7d
25452545+ errorString = "Node not found"_s;
25462546+ return;
25472547+ }
2548- + node->document().updateLayoutIgnorePendingStylesheets ();
2548+ + m_inspectedPage.updateRendering ();
25492549+ if (!node->isConnected()) {
25502550+ errorString = "Node is detached from document"_s;
25512551+ return;
@@ -2591,7 +2591,7 @@ index 25828457119ce81b5283fd03b96fe0ced56d93f8..565b0731690457676b74f77576e8ce7d
25912591+ }
25922592+
25932593+ // Ensure quads are up to date.
2594- + renderer->document().updateLayoutIgnorePendingStylesheets ();
2594+ + m_inspectedPage.updateRendering ();
25952595+
25962596+ Frame* containingFrame = renderer->document().frame();
25972597+ FrameView* containingView = containingFrame ? containingFrame->view() : nullptr;
You can’t perform that action at this time.
0 commit comments