⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 174295 in webkit


Ignore:
Timestamp:
Oct 3, 2014, 3:03:59 PM (12 years ago)
Author:
Brent Fulgham
Message:

[Win] Unreviewed build fix for MSVC 2013 SP 3.

The std::array initializer is not fully implemented in SP3 and causes a
build error.

  • platform/graphics/transforms/AffineTransform.cpp: Use old style assignment

initialization for MSVC builds until this bug is fixed.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r174287 r174295  
     12014-10-03  Brent Fulgham  <bfulgham@apple.com>
     2
     3        [Win] Unreviewed build fix for MSVC 2013 SP 3.
     4
     5        The std::array initializer is not fully implemented in SP3 and causes a
     6        build error.
     7
     8        * platform/graphics/transforms/AffineTransform.cpp: Use old style assignment
     9        initialization for MSVC builds until this bug is fixed.
     10
    1112014-10-03  Tim Horton  <timothy_horton@apple.com>
    212
  • trunk/Source/WebCore/platform/graphics/transforms/AffineTransform.cpp

    r167017 r174295  
    3838namespace WebCore {
    3939
     40#if COMPILER(MSVC)
     41AffineTransform::AffineTransform()
     42{
     43    m_transform = { 1, 0, 0, 1, 0, 0 };
     44}
     45
     46AffineTransform::AffineTransform(double a, double b, double c, double d, double e, double f)
     47{
     48    m_transform = { a, b, c, d, e, f };
     49}
     50#else
    4051AffineTransform::AffineTransform()
    4152    : m_transform { { 1, 0, 0, 1, 0, 0 } }
     
    4455
    4556AffineTransform::AffineTransform(double a, double b, double c, double d, double e, double f)
    46     : m_transform { { a, b, c, d, e, f } }
    47 {
    48 }
     57    : m_transform{ { a, b, c, d, e, f } }
     58{
     59}
     60#endif
    4961
    5062void AffineTransform::makeIdentity()
Note: See TracChangeset for help on using the changeset viewer.