Changeset 108773 in webkit


Ignore:
Timestamp:
Feb 24, 2012 4:34:35 AM (12 years ago)
Author:
leo.yang@torchmobile.com.cn
Message:

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

Reviewed by Antonio Gomes.

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

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

  • platform/graphics/IntSize.h:

(Platform):
(IntSize):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

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

    r95922 r108773  
    4646class QSize;
    4747QT_END_NAMESPACE
     48#elif PLATFORM(BLACKBERRY)
     49namespace BlackBerry {
     50namespace Platform {
     51class IntSize;
     52}
     53}
    4854#endif
    4955
     
    129135#endif
    130136
     137#if PLATFORM(BLACKBERRY)
     138    IntSize(const BlackBerry::Platform::IntSize&);
     139    operator BlackBerry::Platform::IntSize() const;
     140#endif
     141
    131142private:
    132143    int m_width, m_height;
Note: See TracChangeset for help on using the changeset viewer.