Index: third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp |
index 7692c9c0c9a7fba0788e01aff8adb4d620af7099..1f4e437ee5028a5eccf821532b074126995bfd1c 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp |
@@ -42,7 +42,7 @@ namespace blink { |
typedef WillBeHeapHashMap<RefPtrWillBeMember<Widget>, RawPtrWillBeMember<FrameView>> WidgetToParentMap; |
static WidgetToParentMap& widgetNewParentMap() |
{ |
- DEFINE_STATIC_LOCAL(OwnPtrWillBePersistent<WidgetToParentMap>, map, (adoptPtrWillBeNoop(new WidgetToParentMap()))); |
+ DEFINE_STATIC_LOCAL_NO_REGISTER(OwnPtrWillBePersistent<WidgetToParentMap>, map, (adoptPtrWillBeNoop(new WidgetToParentMap()))); |
return *map; |
} |
@@ -51,7 +51,7 @@ static WidgetSet& widgetsPendingTemporaryRemovalFromParent() |
{ |
// Widgets in this set will not leak because it will be cleared in |
// HTMLFrameOwnerElement::UpdateSuspendScope::performDeferredWidgetTreeOperations. |
- DEFINE_STATIC_LOCAL(OwnPtrWillBePersistent<WidgetSet>, set, (adoptPtrWillBeNoop(new WidgetSet()))); |
+ DEFINE_STATIC_LOCAL_NO_REGISTER(OwnPtrWillBePersistent<WidgetSet>, set, (adoptPtrWillBeNoop(new WidgetSet()))); |
return *set; |
} |