Title: [108715] trunk/Source/WebCore
Revision
108715
Author
leo.y...@torchmobile.com.cn
Date
2012-02-23 19:05:58 -0800 (Thu, 23 Feb 2012)

Log Message

[BlackBerry] Upstream the BlackBerry change to platform/graphics/IntPoint.h
https://bugs.webkit.org/show_bug.cgi?id=79094

Reviewed by Antonio Gomes.

Add conversion convenience between WebCore::IntPoint and BlackBerry::Platform::IntPoint.

The porting can't be built yet, no new tests.

* platform/graphics/IntPoint.h:
(Platform):
(IntPoint):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (108714 => 108715)


--- trunk/Source/WebCore/ChangeLog	2012-02-24 03:03:52 UTC (rev 108714)
+++ trunk/Source/WebCore/ChangeLog	2012-02-24 03:05:58 UTC (rev 108715)
@@ -1,3 +1,18 @@
+2012-02-23  Leo Yang  <leo.y...@torchmobile.com.cn>
+
+        [BlackBerry] Upstream the BlackBerry change to platform/graphics/IntPoint.h
+        https://bugs.webkit.org/show_bug.cgi?id=79094
+
+        Reviewed by Antonio Gomes.
+
+        Add conversion convenience between WebCore::IntPoint and BlackBerry::Platform::IntPoint.
+
+        The porting can't be built yet, no new tests.
+
+        * platform/graphics/IntPoint.h:
+        (Platform):
+        (IntPoint):
+
 2012-02-23  Justin Novosad  <ju...@chromium.org>
 
         [Chromium] Add profiling trace for deferred canvas rendering

Modified: trunk/Source/WebCore/platform/graphics/IntPoint.h (108714 => 108715)


--- trunk/Source/WebCore/platform/graphics/IntPoint.h	2012-02-24 03:03:52 UTC (rev 108714)
+++ trunk/Source/WebCore/platform/graphics/IntPoint.h	2012-02-24 03:05:58 UTC (rev 108715)
@@ -55,6 +55,12 @@
 QT_END_NAMESPACE
 #elif PLATFORM(GTK)
 typedef struct _GdkPoint GdkPoint;
+#elif PLATFORM(BLACKBERRY)
+namespace BlackBerry {
+namespace Platform {
+class IntPoint;
+}
+}
 #elif PLATFORM(EFL)
 typedef struct _Evas_Point Evas_Point;
 #endif
@@ -136,6 +142,9 @@
 #elif PLATFORM(GTK)
     IntPoint(const GdkPoint&);
     operator GdkPoint() const;
+#elif PLATFORM(BLACKBERRY)
+    IntPoint(const BlackBerry::Platform::IntPoint&);
+    operator BlackBerry::Platform::IntPoint() const;
 #elif PLATFORM(EFL)
     explicit IntPoint(const Evas_Point&);
     operator Evas_Point() const;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to