Index: third_party/WebKit/Source/core/dom/custom/CustomElementProcessingStack.cpp |
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementProcessingStack.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElementProcessingStack.cpp |
index 57bc051271438295a2adeb0955a8bccd4494f09d..b9db2f2c596f3f00f0a2ce001caa573fbe9f9107 100644 |
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementProcessingStack.cpp |
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementProcessingStack.cpp |
@@ -42,8 +42,8 @@ |
CustomElementProcessingStack& CustomElementProcessingStack::instance() |
{ |
- DEFINE_STATIC_LOCAL(CustomElementProcessingStack, instance, (new CustomElementProcessingStack)); |
- return instance; |
+ DEFINE_STATIC_LOCAL(Persistent<CustomElementProcessingStack>, instance, (new CustomElementProcessingStack())); |
+ return *instance; |
} |
// Dispatches callbacks when popping the processing stack. |