Title: [123705] trunk/Source/WebCore
Revision
123705
Author
commit-qu...@webkit.org
Date
2012-07-25 20:24:46 -0700 (Wed, 25 Jul 2012)

Log Message

https://bugs.webkit.org/show_bug.cgi?id=92260
Repalce "int" with "long" from WebCore/*.idls

Patch by Vineet Chaudhary <rgf...@motorola.com> on 2012-07-25
Reviewed by Adam Barth.

As per the WebIDL spec IDL shouldn't have int attributes but long instead.
Repalced attributes types int with long from WebCore/*.idls.

No new tests. TestObj.idl already covers this.
There should be no behavioural changes.

* dom/Touch.idl: Repalce int with long.
* dom/WebKitNamedFlow.idl: Ditto.
* html/canvas/ArrayBuffer.idl: Ditto.
* html/canvas/WebGLActiveInfo.idl: Ditto.
* html/canvas/WebGLShaderPrecisionFormat.idl: Ditto.
* page/WebKitAnimation.idl: Ditto.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (123704 => 123705)


--- trunk/Source/WebCore/ChangeLog	2012-07-26 03:10:09 UTC (rev 123704)
+++ trunk/Source/WebCore/ChangeLog	2012-07-26 03:24:46 UTC (rev 123705)
@@ -1,3 +1,23 @@
+2012-07-25  Vineet Chaudhary  <rgf...@motorola.com>
+
+        https://bugs.webkit.org/show_bug.cgi?id=92260
+        Repalce "int" with "long" from WebCore/*.idls
+
+        Reviewed by Adam Barth.
+
+        As per the WebIDL spec IDL shouldn't have int attributes but long instead.
+        Repalced attributes types int with long from WebCore/*.idls.
+
+        No new tests. TestObj.idl already covers this.
+        There should be no behavioural changes.
+
+        * dom/Touch.idl: Repalce int with long.
+        * dom/WebKitNamedFlow.idl: Ditto.
+        * html/canvas/ArrayBuffer.idl: Ditto.
+        * html/canvas/WebGLActiveInfo.idl: Ditto.
+        * html/canvas/WebGLShaderPrecisionFormat.idl: Ditto.
+        * page/WebKitAnimation.idl: Ditto.
+
 2012-07-25  Shinya Kawanaka  <shin...@chromium.org>
 
         The elements in ShadowDOM of meter or progress should not be modifiable.

Modified: trunk/Source/WebCore/dom/Touch.idl (123704 => 123705)


--- trunk/Source/WebCore/dom/Touch.idl	2012-07-26 03:10:09 UTC (rev 123704)
+++ trunk/Source/WebCore/dom/Touch.idl	2012-07-26 03:24:46 UTC (rev 123705)
@@ -36,8 +36,8 @@
         readonly attribute long             pageY;
         readonly attribute EventTarget      target;
         readonly attribute unsigned long    identifier;
-        readonly attribute int              webkitRadiusX;
-        readonly attribute int              webkitRadiusY;
+        readonly attribute long             webkitRadiusX;
+        readonly attribute long             webkitRadiusY;
         readonly attribute float            webkitRotationAngle;
         readonly attribute float            webkitForce;
     };

Modified: trunk/Source/WebCore/dom/WebKitNamedFlow.idl (123704 => 123705)


--- trunk/Source/WebCore/dom/WebKitNamedFlow.idl	2012-07-26 03:10:09 UTC (rev 123704)
+++ trunk/Source/WebCore/dom/WebKitNamedFlow.idl	2012-07-26 03:24:46 UTC (rev 123705)
@@ -33,7 +33,7 @@
     ] WebKitNamedFlow {
         readonly attribute DOMString name;
         readonly attribute boolean overset;
-        readonly attribute int firstEmptyRegionIndex;
+        readonly attribute long firstEmptyRegionIndex;
         NodeList getRegionsByContent(in Node contentNode);
         NodeList getContent();
     };

Modified: trunk/Source/WebCore/html/canvas/ArrayBuffer.idl (123704 => 123705)


--- trunk/Source/WebCore/html/canvas/ArrayBuffer.idl	2012-07-26 03:10:09 UTC (rev 123704)
+++ trunk/Source/WebCore/html/canvas/ArrayBuffer.idl	2012-07-26 03:24:46 UTC (rev 123705)
@@ -31,7 +31,7 @@
         ConstructorParameters=1,
         JSNoStaticTables
     ] ArrayBuffer {
-        readonly attribute int byteLength;
+        readonly attribute unsigned long byteLength;
         ArrayBuffer slice(in long begin, in [Optional] long end);
     };
 

Modified: trunk/Source/WebCore/html/canvas/WebGLActiveInfo.idl (123704 => 123705)


--- trunk/Source/WebCore/html/canvas/WebGLActiveInfo.idl	2012-07-26 03:10:09 UTC (rev 123704)
+++ trunk/Source/WebCore/html/canvas/WebGLActiveInfo.idl	2012-07-26 03:24:46 UTC (rev 123705)
@@ -28,8 +28,8 @@
     interface [
         Conditional=WEBGL,
     ] WebGLActiveInfo {
-        readonly attribute int size;
-        readonly attribute unsigned int type;
+        readonly attribute long size;
+        readonly attribute unsigned long type;
         readonly attribute DOMString name;
     };
 

Modified: trunk/Source/WebCore/html/canvas/WebGLShaderPrecisionFormat.idl (123704 => 123705)


--- trunk/Source/WebCore/html/canvas/WebGLShaderPrecisionFormat.idl	2012-07-26 03:10:09 UTC (rev 123704)
+++ trunk/Source/WebCore/html/canvas/WebGLShaderPrecisionFormat.idl	2012-07-26 03:24:46 UTC (rev 123705)
@@ -29,9 +29,9 @@
     interface [
         Conditional=WEBGL,
     ] WebGLShaderPrecisionFormat {
-        readonly attribute int rangeMin;
-        readonly attribute int rangeMax;
-        readonly attribute int precision;
+        readonly attribute long rangeMin;
+        readonly attribute long rangeMax;
+        readonly attribute long precision;
     };
 
 }

Modified: trunk/Source/WebCore/page/WebKitAnimation.idl (123704 => 123705)


--- trunk/Source/WebCore/page/WebKitAnimation.idl	2012-07-26 03:10:09 UTC (rev 123704)
+++ trunk/Source/WebCore/page/WebKitAnimation.idl	2012-07-26 03:24:46 UTC (rev 123705)
@@ -36,7 +36,7 @@
         attribute double elapsedTime;
 
         readonly attribute double delay;
-        readonly attribute [Custom] int iterationCount;
+        readonly attribute [Custom] long iterationCount;
 
         readonly attribute boolean paused;
         readonly attribute boolean ended;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to