Chromium Code Reviews| Index: third_party/WebKit/Source/bindings/core/v8/V8PerContextData.h |
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8PerContextData.h b/third_party/WebKit/Source/bindings/core/v8/V8PerContextData.h |
| index 00d12d94473102318911cb6ecfa5ece56338c249..dd3d0e0aa41e11885764c4f317eef89b153345e5 100644 |
| --- a/third_party/WebKit/Source/bindings/core/v8/V8PerContextData.h |
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8PerContextData.h |
| @@ -31,6 +31,7 @@ |
| #ifndef V8PerContextData_h |
| #define V8PerContextData_h |
| +#include "bindings/core/v8/CSSPaintBinding.h" |
| #include "bindings/core/v8/CustomElementBinding.h" |
| #include "bindings/core/v8/ScopedPersistent.h" |
| #include "bindings/core/v8/V8GlobalValueMap.h" |
| @@ -91,6 +92,7 @@ public: |
| V8NPObjectMap* getV8NPObjectMap() { return &m_v8NPObjectMap; } |
| void addCustomElementBinding(CustomElementDefinition*, PassOwnPtr<CustomElementBinding>); |
| + void addCSSPaintBinding(PassOwnPtr<CSSPaintBinding>); |
| V8DOMActivityLogger* activityLogger() const { return m_activityLogger; } |
| void setActivityLogger(V8DOMActivityLogger* activityLogger) { m_activityLogger = activityLogger; } |
| @@ -124,6 +126,9 @@ private: |
| typedef Vector<OwnPtr<CustomElementBinding>> CustomElementBindingList; |
| CustomElementBindingList m_customElementBindings; |
| + typedef Vector<OwnPtr<CSSPaintBinding>> CSSPaintBindingList; |
| + CSSPaintBindingList m_cssPaintBindings; |
|
ikilpatrick
2016/03/30 19:12:50
Instead of this I could also add a V8PerContextDat
|
| + |
| // This is owned by a static hash map in V8DOMActivityLogger. |
| V8DOMActivityLogger* m_activityLogger; |