Index: third_party/WebKit/Source/core/dom/Document.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp |
index 5270a9126081f9e6297c41fe033c08ba781b95e6..3aaa4d1352858d7f367330d2c665475f2b6458f0 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.cpp |
+++ b/third_party/WebKit/Source/core/dom/Document.cpp |
@@ -6449,6 +6449,10 @@ PropertyRegistry* Document::propertyRegistry() { |
return m_propertyRegistry; |
} |
+const PropertyRegistry* Document::propertyRegistry() const { |
+ return const_cast<Document*>(this)->propertyRegistry(); |
+} |
+ |
void Document::incrementPasswordCount() { |
++m_passwordCount; |
if (isSecureContext() || m_passwordCount != 1) { |