Title: [109256] trunk/Source/WebCore
- Revision
- 109256
- Author
- [email protected]
- Date
- 2012-02-29 13:41:33 -0800 (Wed, 29 Feb 2012)
Log Message
[BlackBerry] Upstream the BlackBerry change to platform/graphics/FloatRect.h
https://bugs.webkit.org/show_bug.cgi?id=79891
Reviewed by Antonio Gomes.
Add conversion convenience between WebCore::FloatRect and BlackBerry::Platform::FloatRect.
The porting can't be built yet, no new tests.
* platform/graphics/FloatRect.h:
(Platform):
(FloatRect):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (109255 => 109256)
--- trunk/Source/WebCore/ChangeLog 2012-02-29 21:36:12 UTC (rev 109255)
+++ trunk/Source/WebCore/ChangeLog 2012-02-29 21:41:33 UTC (rev 109256)
@@ -1,3 +1,18 @@
+2012-02-29 Leo Yang <[email protected]>
+
+ [BlackBerry] Upstream the BlackBerry change to platform/graphics/FloatRect.h
+ https://bugs.webkit.org/show_bug.cgi?id=79891
+
+ Reviewed by Antonio Gomes.
+
+ Add conversion convenience between WebCore::FloatRect and BlackBerry::Platform::FloatRect.
+
+ The porting can't be built yet, no new tests.
+
+ * platform/graphics/FloatRect.h:
+ (Platform):
+ (FloatRect):
+
2012-02-29 Tim Horton <[email protected]>
Make use of CG rounded-rect primitives
Modified: trunk/Source/WebCore/platform/graphics/FloatRect.h (109255 => 109256)
--- trunk/Source/WebCore/platform/graphics/FloatRect.h 2012-02-29 21:36:12 UTC (rev 109255)
+++ trunk/Source/WebCore/platform/graphics/FloatRect.h 2012-02-29 21:41:33 UTC (rev 109256)
@@ -52,6 +52,14 @@
class wxRect2DDouble;
#endif
+#if PLATFORM(BLACKBERRY)
+namespace BlackBerry {
+namespace Platform {
+class FloatRect;
+}
+}
+#endif
+
#if USE(SKIA)
struct SkRect;
#endif
@@ -181,6 +189,11 @@
void fitToPoints(const FloatPoint& p0, const FloatPoint& p1, const FloatPoint& p2);
void fitToPoints(const FloatPoint& p0, const FloatPoint& p1, const FloatPoint& p2, const FloatPoint& p3);
+#if PLATFORM(BLACKBERRY)
+ FloatRect(const BlackBerry::Platform::FloatRect&);
+ operator BlackBerry::Platform::FloatRect() const;
+#endif
+
#if USE(CG) || USE(SKIA_ON_MAC_CHROMIUM)
FloatRect(const CGRect&);
operator CGRect() const;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes