diff options
Diffstat (limited to 'webkit/port/bindings')
-rw-r--r-- | webkit/port/bindings/v8/v8_index.cpp | 2 | ||||
-rw-r--r-- | webkit/port/bindings/v8/v8_index.h | 2 | ||||
-rw-r--r-- | webkit/port/bindings/v8/v8_proxy.cpp | 3 |
3 files changed, 7 insertions, 0 deletions
diff --git a/webkit/port/bindings/v8/v8_index.cpp b/webkit/port/bindings/v8/v8_index.cpp index e731b05..71b764a 100644 --- a/webkit/port/bindings/v8/v8_index.cpp +++ b/webkit/port/bindings/v8/v8_index.cpp @@ -58,6 +58,8 @@ #include "V8CSSValue.h" #include "V8CSSValueList.h" #include "V8CSSStyleSheet.h" +#include "V8CSSVariablesDeclaration.h" +#include "V8CSSVariablesRule.h" #include "V8Document.h" #include "V8DocumentFragment.h" #include "V8DocumentType.h" diff --git a/webkit/port/bindings/v8/v8_index.h b/webkit/port/bindings/v8/v8_index.h index 0df22e9..3e7dd84 100644 --- a/webkit/port/bindings/v8/v8_index.h +++ b/webkit/port/bindings/v8/v8_index.h @@ -229,6 +229,8 @@ typedef v8::Persistent<v8::FunctionTemplate> (*FunctionTemplateFactory)(); V(CSSSTYLESHEET, CSSStyleSheet) \ V(CSSVALUE, CSSValue) \ V(CSSVALUELIST, CSSValueList) \ + V(CSSVARIABLESDECLARATION, CSSVariablesDeclaration) \ + V(CSSVARIABLESRULE, CSSVariablesRule) \ V(DOMCOREEXCEPTION, DOMCoreException) \ V(DOMIMPLEMENTATION, DOMImplementation) \ V(DOMPARSER, DOMParser) \ diff --git a/webkit/port/bindings/v8/v8_proxy.cpp b/webkit/port/bindings/v8/v8_proxy.cpp index ae96b63..a30231a 100644 --- a/webkit/port/bindings/v8/v8_proxy.cpp +++ b/webkit/port/bindings/v8/v8_proxy.cpp @@ -2588,6 +2588,9 @@ v8::Handle<v8::Value> V8Proxy::CSSRuleToV8Object(CSSRule* rule) { case CSSRule::PAGE_RULE: type = V8ClassIndex::CSSPAGERULE; break; + case CSSRule::VARIABLES_RULE: + type = V8ClassIndex::CSSVARIABLESRULE; + break; default: // CSSRule::UNKNOWN_RULE type = V8ClassIndex::CSSRULE; } |