Title: [109252] trunk/Source/WebCore
- Revision
- 109252
- Author
- leo.y...@torchmobile.com.cn
- Date
- 2012-02-29 13:25:24 -0800 (Wed, 29 Feb 2012)
Log Message
[BlackBerry] Upstream the BlackBerry change to platform/graphics/FloatPoint.h
https://bugs.webkit.org/show_bug.cgi?id=79887
Reviewed by Antonio Gomes.
Add conversion convenience between WebCore::FloatPoint and BlackBerry::Platform::FloatPoint.
The porting can't be built yet, no new tests.
* platform/graphics/FloatPoint.h:
(Platform):
(FloatPoint):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (109251 => 109252)
--- trunk/Source/WebCore/ChangeLog 2012-02-29 21:17:28 UTC (rev 109251)
+++ trunk/Source/WebCore/ChangeLog 2012-02-29 21:25:24 UTC (rev 109252)
@@ -1,3 +1,18 @@
+2012-02-29 Leo Yang <leo.y...@torchmobile.com.cn>
+
+ [BlackBerry] Upstream the BlackBerry change to platform/graphics/FloatPoint.h
+ https://bugs.webkit.org/show_bug.cgi?id=79887
+
+ Reviewed by Antonio Gomes.
+
+ Add conversion convenience between WebCore::FloatPoint and BlackBerry::Platform::FloatPoint.
+
+ The porting can't be built yet, no new tests.
+
+ * platform/graphics/FloatPoint.h:
+ (Platform):
+ (FloatPoint):
+
2012-02-29 Kaustubh Atrawalkar <kaust...@motorola.com>
ShadowRoot need innerHTML
Modified: trunk/Source/WebCore/platform/graphics/FloatPoint.h (109251 => 109252)
--- trunk/Source/WebCore/platform/graphics/FloatPoint.h 2012-02-29 21:17:28 UTC (rev 109251)
+++ trunk/Source/WebCore/platform/graphics/FloatPoint.h 2012-02-29 21:25:24 UTC (rev 109252)
@@ -31,6 +31,14 @@
#include "IntPoint.h"
#include <wtf/MathExtras.h>
+#if PLATFORM(BLACKBERRY)
+namespace BlackBerry {
+namespace Platform {
+class FloatPoint;
+}
+}
+#endif
+
#if USE(CG) || USE(SKIA_ON_MAC_CHROMIUM)
typedef struct CGPoint CGPoint;
#endif
@@ -156,6 +164,11 @@
operator QPointF() const;
#endif
+#if PLATFORM(BLACKBERRY)
+ FloatPoint(const BlackBerry::Platform::FloatPoint&);
+ operator BlackBerry::Platform::FloatPoint() const;
+#endif
+
#if USE(SKIA)
operator SkPoint() const;
FloatPoint(const SkPoint&);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes