| 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 3bc2657a5f609d7db757599f8e4dbe79d87420f1..2366d0def45008beec7779c47297b5f9852ed2b2 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -6446,6 +6446,11 @@ PropertyRegistry* Document::propertyRegistry() {
|
| return m_propertyRegistry;
|
| }
|
|
|
| +const PropertyRegistry* Document::propertyRegistry() const {
|
| + DCHECK(!m_propertyRegistry || RuntimeEnabledFeatures::cssVariables2Enabled());
|
| + return m_propertyRegistry;
|
| +}
|
| +
|
| void Document::incrementPasswordCount() {
|
| ++m_passwordCount;
|
| if (isSecureContext() || m_passwordCount != 1) {
|
|
|