@@ -52,7 +52,7 @@ diff --git a/third_party/blink/renderer/core/dom/document.cc b/third_party/blink
|
||||
#ifndef NDEBUG
|
||||
using WeakDocumentSet = blink::HeapHashSet<blink::WeakMember<blink::Document>>;
|
||||
static WeakDocumentSet& LiveDocumentSet();
|
||||
@@ -7411,6 +7414,64 @@ void Document::OnPrepareToStopParsing() {
|
||||
@@ -7416,6 +7419,64 @@ void Document::OnPrepareToStopParsing() {
|
||||
MilestoneForDelayedAsyncScript::kFinishedParsing);
|
||||
}
|
||||
|
||||
@@ -117,7 +117,7 @@ diff --git a/third_party/blink/renderer/core/dom/document.cc b/third_party/blink
|
||||
void Document::FinishedParsing() {
|
||||
DCHECK(!GetScriptableDocumentParser() || !parser_->IsParsing());
|
||||
DCHECK(!GetScriptableDocumentParser() || ready_state_ != kLoading);
|
||||
@@ -7477,6 +7538,9 @@ void Document::FinishedParsing() {
|
||||
@@ -7482,6 +7543,9 @@ void Document::FinishedParsing() {
|
||||
}
|
||||
|
||||
frame->Loader().FinishedParsing();
|
||||
@@ -130,7 +130,7 @@ diff --git a/third_party/blink/renderer/core/dom/document.cc b/third_party/blink
|
||||
diff --git a/third_party/blink/renderer/core/dom/document.h b/third_party/blink/renderer/core/dom/document.h
|
||||
--- a/third_party/blink/renderer/core/dom/document.h
|
||||
+++ b/third_party/blink/renderer/core/dom/document.h
|
||||
@@ -2062,6 +2062,9 @@ class CORE_EXPORT Document : public ContainerNode,
|
||||
@@ -2064,6 +2064,9 @@ class CORE_EXPORT Document : public ContainerNode,
|
||||
void AXContextModeChanged();
|
||||
void ClearAXObjectCache();
|
||||
|
||||
|
||||
@@ -240,7 +240,7 @@ diff --git a/third_party/blink/renderer/core/dom/document.h b/third_party/blink/
|
||||
AtomicString visibilityState() const;
|
||||
bool IsPageVisible() const;
|
||||
bool hidden() const;
|
||||
@@ -2416,6 +2420,9 @@ class CORE_EXPORT Document : public ContainerNode,
|
||||
@@ -2418,6 +2422,9 @@ class CORE_EXPORT Document : public ContainerNode,
|
||||
|
||||
base::ElapsedTimer start_time_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user