Title: [109074] trunk/Source/WebCore
Revision
109074
Author
leo.y...@torchmobile.com.cn
Date
2012-02-27 21:49:02 -0800 (Mon, 27 Feb 2012)

Log Message

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

Reviewed by Antonio Gomes.

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

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

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

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (109073 => 109074)


--- trunk/Source/WebCore/ChangeLog	2012-02-28 05:42:45 UTC (rev 109073)
+++ trunk/Source/WebCore/ChangeLog	2012-02-28 05:49:02 UTC (rev 109074)
@@ -1,3 +1,18 @@
+2012-02-27  Leo Yang  <leo.y...@torchmobile.com.cn>
+
+        [BlackBerry] Upstream the BlackBerry change to platform/graphics/IntRect.h
+        https://bugs.webkit.org/show_bug.cgi?id=79732
+
+        Reviewed by Antonio Gomes.
+
+        Add conversion convenience between WebCore::IntRect and BlackBerry::Platform::IntRect.
+
+        The porting can't be built yet, no new tests.
+
+        * platform/graphics/IntRect.h:
+        (Platform):
+        (IntRect):
+
 2012-02-27  Emil A Eklund  <e...@chromium.org>
 
         Printed font-size should not be dependant on zoom level

Modified: trunk/Source/WebCore/platform/graphics/IntRect.h (109073 => 109074)


--- trunk/Source/WebCore/platform/graphics/IntRect.h	2012-02-28 05:42:45 UTC (rev 109073)
+++ trunk/Source/WebCore/platform/graphics/IntRect.h	2012-02-28 05:49:02 UTC (rev 109074)
@@ -53,6 +53,12 @@
 #endif
 #elif PLATFORM(EFL)
 typedef struct _Eina_Rectangle Eina_Rectangle;
+#elif PLATFORM(BLACKBERRY)
+namespace BlackBerry {
+namespace Platform {
+class IntRect;
+}
+}
 #endif
 
 #if USE(CAIRO)
@@ -214,6 +220,11 @@
     operator NSRect() const;
 #endif
 
+#if PLATFORM(BLACKBERRY)
+    IntRect(const BlackBerry::Platform::IntRect&);
+    operator BlackBerry::Platform::IntRect() const;
+#endif
+
 private:
     IntPoint m_location;
     IntSize m_size;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to