[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.16-1409-g5afdf4d

oliver at apple.com oliver at apple.com
Thu Dec 3 13:30:55 UTC 2009


The following commit has been merged in the webkit-1.1 branch:
commit 3a2a1e556d3e8b409d609711fa629e82aa8d2894
Author: oliver at apple.com <oliver at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Nov 10 10:51:05 2009 +0000

    Hopefully the last chrome build fix
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50732 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 69f4ba7..1687e6c 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,5 +1,14 @@
 2009-11-10  Oliver Hunt  <oliver at apple.com>
 
+        Hopefully the last one.  Why aren't these autogenerated?
+
+        * bindings/v8/V8DOMWrapper.cpp:
+        (WebCore::V8DOMWrapper::setIndexedPropertiesToExternalArray):
+        (WebCore::V8DOMWrapper::getTemplate):
+        (WebCore::V8DOMWrapper::convertToV8Object):
+
+2009-11-10  Oliver Hunt  <oliver at apple.com>
+
         Another chrome build fix.
 
         * bindings/v8/custom/V8HTMLCanvasElementCustom.cpp:
diff --git a/WebCore/bindings/v8/V8DOMWrapper.cpp b/WebCore/bindings/v8/V8DOMWrapper.cpp
index a3e9b37..c908e66 100644
--- a/WebCore/bindings/v8/V8DOMWrapper.cpp
+++ b/WebCore/bindings/v8/V8DOMWrapper.cpp
@@ -159,25 +159,25 @@ void V8DOMWrapper::setIndexedPropertiesToExternalArray(v8::Handle<v8::Object> wr
     v8::ExternalArrayType array_type = v8::kExternalByteArray;
     V8ClassIndex::V8WrapperType classIndex = V8ClassIndex::FromInt(index);
     switch (classIndex) {
-    case V8ClassIndex::CANVASBYTEARRAY:
+    case V8ClassIndex::WEBGLBYTEARRAY:
         array_type = v8::kExternalByteArray;
         break;
-    case V8ClassIndex::CANVASUNSIGNEDBYTEARRAY:
+    case V8ClassIndex::WEBGLUNSIGNEDBYTEARRAY:
         array_type = v8::kExternalUnsignedByteArray;
         break;
-    case V8ClassIndex::CANVASSHORTARRAY:
+    case V8ClassIndex::WEBGLSHORTARRAY:
         array_type = v8::kExternalShortArray;
         break;
-    case V8ClassIndex::CANVASUNSIGNEDSHORTARRAY:
+    case V8ClassIndex::WEBGLUNSIGNEDSHORTARRAY:
         array_type = v8::kExternalUnsignedShortArray;
         break;
-    case V8ClassIndex::CANVASINTARRAY:
+    case V8ClassIndex::WEBGLINTARRAY:
         array_type = v8::kExternalIntArray;
         break;
-    case V8ClassIndex::CANVASUNSIGNEDINTARRAY:
+    case V8ClassIndex::WEBGLUNSIGNEDINTARRAY:
         array_type = v8::kExternalUnsignedIntArray;
         break;
-    case V8ClassIndex::CANVASFLOATARRAY:
+    case V8ClassIndex::WEBGLFLOATARRAY:
         array_type = v8::kExternalFloatArray;
         break;
     default:
@@ -521,28 +521,28 @@ v8::Persistent<v8::FunctionTemplate> V8DOMWrapper::getTemplate(V8ClassIndex::V8W
 
 #if ENABLE(3D_CANVAS)
     // The following objects are created from JavaScript.
-    case V8ClassIndex::CANVASARRAYBUFFER:
+    case V8ClassIndex::WEBGLARRAYBUFFER:
         descriptor->SetCallHandler(USE_CALLBACK(WebGLArrayBufferConstructor));
         break;
-    case V8ClassIndex::CANVASBYTEARRAY:
+    case V8ClassIndex::WEBGLBYTEARRAY:
         descriptor->SetCallHandler(USE_CALLBACK(WebGLByteArrayConstructor));
         break;
-    case V8ClassIndex::CANVASFLOATARRAY:
+    case V8ClassIndex::WEBGLFLOATARRAY:
         descriptor->SetCallHandler(USE_CALLBACK(WebGLFloatArrayConstructor));
         break;
-    case V8ClassIndex::CANVASINTARRAY:
+    case V8ClassIndex::WEBGLINTARRAY:
         descriptor->SetCallHandler(USE_CALLBACK(WebGLIntArrayConstructor));
         break;
-    case V8ClassIndex::CANVASSHORTARRAY:
+    case V8ClassIndex::WEBGLSHORTARRAY:
         descriptor->SetCallHandler(USE_CALLBACK(WebGLShortArrayConstructor));
         break;
-    case V8ClassIndex::CANVASUNSIGNEDBYTEARRAY:
+    case V8ClassIndex::WEBGLUNSIGNEDBYTEARRAY:
         descriptor->SetCallHandler(USE_CALLBACK(WebGLUnsignedByteArrayConstructor));
         break;
-    case V8ClassIndex::CANVASUNSIGNEDINTARRAY:
+    case V8ClassIndex::WEBGLUNSIGNEDINTARRAY:
         descriptor->SetCallHandler(USE_CALLBACK(WebGLUnsignedIntArrayConstructor));
         break;
-    case V8ClassIndex::CANVASUNSIGNEDSHORTARRAY:
+    case V8ClassIndex::WEBGLUNSIGNEDSHORTARRAY:
         descriptor->SetCallHandler(USE_CALLBACK(WebGLUnsignedShortArrayConstructor));
         break;
 #endif
@@ -746,13 +746,13 @@ v8::Handle<v8::Value> V8DOMWrapper::convertToV8Object(V8ClassIndex::V8WrapperTyp
 #if ENABLE(3D_CANVAS)
             // Set up WebGLArray subclasses' accesses similarly.
             switch (type) {
-            case V8ClassIndex::CANVASBYTEARRAY:
-            case V8ClassIndex::CANVASUNSIGNEDBYTEARRAY:
-            case V8ClassIndex::CANVASSHORTARRAY:
-            case V8ClassIndex::CANVASUNSIGNEDSHORTARRAY:
-            case V8ClassIndex::CANVASINTARRAY:
-            case V8ClassIndex::CANVASUNSIGNEDINTARRAY:
-            case V8ClassIndex::CANVASFLOATARRAY: {
+            case V8ClassIndex::WEBGLBYTEARRAY:
+            case V8ClassIndex::WEBGLUNSIGNEDBYTEARRAY:
+            case V8ClassIndex::WEBGLSHORTARRAY:
+            case V8ClassIndex::WEBGLUNSIGNEDSHORTARRAY:
+            case V8ClassIndex::WEBGLINTARRAY:
+            case V8ClassIndex::WEBGLUNSIGNEDINTARRAY:
+            case V8ClassIndex::WEBGLFLOATARRAY: {
                 WebGLArray* array = reinterpret_cast<WebGLArray*>(impl);
                 setIndexedPropertiesToExternalArray(result,
                                                     V8ClassIndex::ToInt(type),

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list