Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(633)

Unified Diff: third_party/WebKit/Source/core/frame/FrameHost.cpp

Issue 2023093003: Upgrade in-document custom elements when an element is defined. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix ASAN failure in test helper. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/frame/FrameHost.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameHost.cpp b/third_party/WebKit/Source/core/frame/FrameHost.cpp
index 7d30a33749bc373d37962cd13c7327d0d4c4c906..f7093702c17f5d970399765a247995afe89c8dc5 100644
--- a/third_party/WebKit/Source/core/frame/FrameHost.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameHost.cpp
@@ -30,6 +30,7 @@
#include "core/frame/FrameHost.h"
+#include "core/dom/custom/CustomElementReactionStack.h"
#include "core/frame/EventHandlerRegistry.h"
#include "core/frame/FrameView.h"
#include "core/frame/PageScaleConstraints.h"
@@ -61,6 +62,7 @@ FrameHost::FrameHost(Page& page)
m_page->chromeClient()))
, m_eventHandlerRegistry(new EventHandlerRegistry(*this))
, m_consoleMessageStorage(ConsoleMessageStorage::create())
+ , m_customElementReactionStack(new CustomElementReactionStack())
, m_subframeCount(0)
{
}
@@ -205,6 +207,16 @@ const ConsoleMessageStorage& FrameHost::consoleMessageStorage() const
return *m_consoleMessageStorage;
}
+CustomElementReactionStack& FrameHost::customElementReactionStack()
+{
+ return *m_customElementReactionStack;
+}
+
+const CustomElementReactionStack& FrameHost::customElementReactionStack() const
+{
+ return *m_customElementReactionStack;
+}
+
DEFINE_TRACE(FrameHost)
{
visitor->trace(m_page);
@@ -214,6 +226,7 @@ DEFINE_TRACE(FrameHost)
visitor->trace(m_overscrollController);
visitor->trace(m_eventHandlerRegistry);
visitor->trace(m_consoleMessageStorage);
+ visitor->trace(m_customElementReactionStack);
}
#if ENABLE(ASSERT)
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameHost.h ('k') | third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698