summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/bindings
diff options
context:
space:
mode:
authorKristian Monsen <kristianm@google.com>2011-08-11 16:41:13 +0100
committerKristian Monsen <kristianm@google.com>2011-08-11 16:51:32 +0100
commit97d1ba2c8bc28979fb0ac8c44db3aa15b548e9b8 (patch)
tree6cf812b160580a1b7cb39b054c20752cf34be53a /Source/WebCore/bindings
parent09750f5c829979ca6fc0c740459029d3f606b734 (diff)
downloadexternal_webkit-97d1ba2c8bc28979fb0ac8c44db3aa15b548e9b8.zip
external_webkit-97d1ba2c8bc28979fb0ac8c44db3aa15b548e9b8.tar.gz
external_webkit-97d1ba2c8bc28979fb0ac8c44db3aa15b548e9b8.tar.bz2
Parts of fix for bug 5152544 Reduce the number of warning, initializers
Cherry pick parts of this upstream CL: http://trac.webkit.org/changeset/86949 Change-Id: I019907814804bacd1c98b1480f9b7949274b1a23
Diffstat (limited to 'Source/WebCore/bindings')
-rw-r--r--Source/WebCore/bindings/v8/NPV8Object.cpp2
-rw-r--r--Source/WebCore/bindings/v8/custom/V8HTMLAudioElementConstructor.cpp2
-rw-r--r--Source/WebCore/bindings/v8/custom/V8HTMLImageElementConstructor.cpp2
-rw-r--r--Source/WebCore/bindings/v8/custom/V8HTMLOptionElementConstructor.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/Source/WebCore/bindings/v8/NPV8Object.cpp b/Source/WebCore/bindings/v8/NPV8Object.cpp
index 0ecb3c7..64a90b8 100644
--- a/Source/WebCore/bindings/v8/NPV8Object.cpp
+++ b/Source/WebCore/bindings/v8/NPV8Object.cpp
@@ -58,7 +58,7 @@ namespace WebCore {
WrapperTypeInfo* npObjectTypeInfo()
{
- static WrapperTypeInfo typeInfo = { 0, 0, 0 };
+ static WrapperTypeInfo typeInfo = { 0, 0, 0, 0 };
return &typeInfo;
}
diff --git a/Source/WebCore/bindings/v8/custom/V8HTMLAudioElementConstructor.cpp b/Source/WebCore/bindings/v8/custom/V8HTMLAudioElementConstructor.cpp
index 7a0a545..34a8a35 100644
--- a/Source/WebCore/bindings/v8/custom/V8HTMLAudioElementConstructor.cpp
+++ b/Source/WebCore/bindings/v8/custom/V8HTMLAudioElementConstructor.cpp
@@ -44,7 +44,7 @@
namespace WebCore {
-WrapperTypeInfo V8HTMLAudioElementConstructor::info = { V8HTMLAudioElementConstructor::GetTemplate, 0, 0 };
+ WrapperTypeInfo V8HTMLAudioElementConstructor::info = { V8HTMLAudioElementConstructor::GetTemplate, 0, 0, 0 };
static v8::Handle<v8::Value> v8HTMLAudioElementConstructorCallback(const v8::Arguments& args)
{
diff --git a/Source/WebCore/bindings/v8/custom/V8HTMLImageElementConstructor.cpp b/Source/WebCore/bindings/v8/custom/V8HTMLImageElementConstructor.cpp
index 24b1709..c339559 100644
--- a/Source/WebCore/bindings/v8/custom/V8HTMLImageElementConstructor.cpp
+++ b/Source/WebCore/bindings/v8/custom/V8HTMLImageElementConstructor.cpp
@@ -44,7 +44,7 @@
namespace WebCore {
-WrapperTypeInfo V8HTMLImageElementConstructor::info = { V8HTMLImageElementConstructor::GetTemplate, 0, 0 };
+ WrapperTypeInfo V8HTMLImageElementConstructor::info = { V8HTMLImageElementConstructor::GetTemplate, 0, 0, 0 };
static v8::Handle<v8::Value> v8HTMLImageElementConstructorCallback(const v8::Arguments& args)
{
diff --git a/Source/WebCore/bindings/v8/custom/V8HTMLOptionElementConstructor.cpp b/Source/WebCore/bindings/v8/custom/V8HTMLOptionElementConstructor.cpp
index 14c80b9..413e4f2 100644
--- a/Source/WebCore/bindings/v8/custom/V8HTMLOptionElementConstructor.cpp
+++ b/Source/WebCore/bindings/v8/custom/V8HTMLOptionElementConstructor.cpp
@@ -44,7 +44,7 @@
namespace WebCore {
-WrapperTypeInfo V8HTMLOptionElementConstructor::info = { V8HTMLOptionElementConstructor::GetTemplate, 0, 0 };
+ WrapperTypeInfo V8HTMLOptionElementConstructor::info = { V8HTMLOptionElementConstructor::GetTemplate, 0, 0, 0 };
static v8::Handle<v8::Value> v8HTMLOptionElementConstructorCallback(const v8::Arguments& args)
{