summaryrefslogtreecommitdiffstats
path: root/webkit/port
diff options
context:
space:
mode:
authorsky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-03 03:05:29 +0000
committersky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-03 03:05:29 +0000
commita3206c905a4dc59b6637186d1b77b15893ded6c7 (patch)
tree62739977ced4d7e5b0e3f3ea08ab390df6ed7388 /webkit/port
parentdb6fb390d484c159bfb5f9d083f3355d1bcf9794 (diff)
downloadchromium_src-a3206c905a4dc59b6637186d1b77b15893ded6c7.zip
chromium_src-a3206c905a4dc59b6637186d1b77b15893ded6c7.tar.gz
chromium_src-a3206c905a4dc59b6637186d1b77b15893ded6c7.tar.bz2
Fixes a handful of broken tests after the merge that resulted from us
not compiling some new binding classes. Note that I'm removing the expected output for variable-iteration-test as it was wrong. We're not passing this one for a different reason (no idea what that is now). BUG=3010 TEST=covered by tests Review URL: http://codereview.chromium.org/6228 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2824 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port')
-rw-r--r--webkit/port/DerivedSources.make2
-rw-r--r--webkit/port/bindings/v8/v8_index.cpp2
-rw-r--r--webkit/port/bindings/v8/v8_index.h2
-rw-r--r--webkit/port/bindings/v8/v8_proxy.cpp3
4 files changed, 9 insertions, 0 deletions
diff --git a/webkit/port/DerivedSources.make b/webkit/port/DerivedSources.make
index fb0b99f..6d0f1ab 100644
--- a/webkit/port/DerivedSources.make
+++ b/webkit/port/DerivedSources.make
@@ -649,6 +649,8 @@ all : \
V8Console.h \
V8Counter.h \
V8CSSStyleDeclaration.h \
+ V8CSSVariablesDeclaration.h \
+ V8CSSVariablesRule.h \
V8DOMCoreException.h \
V8DOMImplementation.h \
V8DOMParser.h \
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;
}