Index: third_party/WebKit/Source/core/dom/TreeScope.cpp |
diff --git a/third_party/WebKit/Source/core/dom/TreeScope.cpp b/third_party/WebKit/Source/core/dom/TreeScope.cpp |
index 20c0f87fd42016a62c2ce63a050c633b8c3ad7d7..6e82f10a10334527d955da69a04c8f1d5a52bbd2 100644 |
--- a/third_party/WebKit/Source/core/dom/TreeScope.cpp |
+++ b/third_party/WebKit/Source/core/dom/TreeScope.cpp |
@@ -123,6 +123,7 @@ Element* TreeScope::getElementById(const AtomicString& elementId) const { |
const HeapVector<Member<Element>>& TreeScope::getAllElementsById( |
const AtomicString& elementId) const { |
+ ALLOW_UNSAFE_SINGLETON() |
DEFINE_STATIC_LOCAL(HeapVector<Member<Element>>, emptyVector, |
(new HeapVector<Member<Element>>)); |
if (elementId.isEmpty()) |