Changeset 109252 in webkit


Ignore:
Timestamp:
Feb 29, 2012 1:25:24 PM (12 years ago)
Author:
leo.yang@torchmobile.com.cn
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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r109251 r109252  
     12012-02-29  Leo Yang  <leo.yang@torchmobile.com.cn>
     2
     3        [BlackBerry] Upstream the BlackBerry change to platform/graphics/FloatPoint.h
     4        https://bugs.webkit.org/show_bug.cgi?id=79887
     5
     6        Reviewed by Antonio Gomes.
     7
     8        Add conversion convenience between WebCore::FloatPoint and BlackBerry::Platform::FloatPoint.
     9
     10        The porting can't be built yet, no new tests.
     11
     12        * platform/graphics/FloatPoint.h:
     13        (Platform):
     14        (FloatPoint):
     15
    1162012-02-29  Kaustubh Atrawalkar  <kaustubh@motorola.com>
    217
  • trunk/Source/WebCore/platform/graphics/FloatPoint.h

    r108138 r109252  
    3232#include <wtf/MathExtras.h>
    3333
     34#if PLATFORM(BLACKBERRY)
     35namespace BlackBerry {
     36namespace Platform {
     37class FloatPoint;
     38}
     39}
     40#endif
     41
    3442#if USE(CG) || USE(SKIA_ON_MAC_CHROMIUM)
    3543typedef struct CGPoint CGPoint;
     
    157165#endif
    158166
     167#if PLATFORM(BLACKBERRY)
     168    FloatPoint(const BlackBerry::Platform::FloatPoint&);
     169    operator BlackBerry::Platform::FloatPoint() const;
     170#endif
     171
    159172#if USE(SKIA)
    160173    operator SkPoint() const;
Note: See TracChangeset for help on using the changeset viewer.