Index: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp |
index c1819813d7a1f816092a66a98be59547ad611c4a..0e2c06a7a470142e4c48b90c2d8472efc7d1dd6d 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp |
@@ -140,8 +140,8 @@ const char* boolString(bool val) |
DocumentElementSetMap& documentToElementSetMap() |
{ |
- DEFINE_STATIC_LOCAL(Persistent<DocumentElementSetMap>, map, (new DocumentElementSetMap())); |
- return *map; |
+ DEFINE_STATIC_LOCAL(DocumentElementSetMap, map, (new DocumentElementSetMap)); |
+ return map; |
} |
void addElementToDocumentMap(HTMLMediaElement* element, Document* document) |