Changeset 109259 in webkit


Ignore:
Timestamp:
Feb 29, 2012 2:11:06 PM (12 years ago)
Author:
leo.yang@torchmobile.com.cn
Message:

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

Reviewed by Antonio Gomes.

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

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

  • platform/graphics/FloatSize.h:

(Platform):
(FloatSize):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

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

    r108131 r109259  
    3131#include "IntPoint.h"
    3232#include <wtf/MathExtras.h>
     33
     34#if PLATFORM(BLACKBERRY)
     35namespace BlackBerry {
     36namespace Platform {
     37class FloatSize;
     38}
     39}
     40#endif
    3341
    3442#if USE(CG) || (PLATFORM(WX) && OS(DARWIN)) || USE(SKIA_ON_MAC_CHROMIUM)
     
    107115    }
    108116
     117#if PLATFORM(BLACKBERRY)
     118    FloatSize(const BlackBerry::Platform::FloatSize&);
     119    operator BlackBerry::Platform::FloatSize() const;
     120#endif
     121
    109122#if USE(CG) || (PLATFORM(WX) && OS(DARWIN)) || USE(SKIA_ON_MAC_CHROMIUM)
    110123    explicit FloatSize(const CGSize&); // don't do this implicitly since it's lossy
Note: See TracChangeset for help on using the changeset viewer.