Changeset 170479 in webkit


Ignore:
Timestamp:
Jun 26, 2014 8:00:19 AM (10 years ago)
Author:
commit-queue@webkit.org
Message:

[EFL][WK2] Fix Debug Build Error in Webcore module.
https://bugs.webkit.org/show_bug.cgi?id=134345

Patch by Shivakumar JM <shiva.jm@samsung.com> on 2014-06-26
Reviewed by Zalan Bujtas.

Use static cast to change the type of variable to fix error

  • platform/graphics/harfbuzz/HarfBuzzShaper.cpp:

(WebCore::HarfBuzzShaper::setDrawRange):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r170478 r170479  
     12014-06-26  Shivakumar JM  <shiva.jm@samsung.com>
     2
     3        [EFL][WK2] Fix Debug Build Error in Webcore module.
     4        https://bugs.webkit.org/show_bug.cgi?id=134345
     5
     6        Reviewed by Zalan Bujtas.
     7
     8        Use static cast to change the type of variable to fix error
     9
     10        * platform/graphics/harfbuzz/HarfBuzzShaper.cpp:
     11        (WebCore::HarfBuzzShaper::setDrawRange):
     12
    1132014-06-26  Eric Carlson  <eric.carlson@apple.com>
    214
  • trunk/Source/WebCore/platform/graphics/harfbuzz/HarfBuzzShaper.cpp

    r170390 r170479  
    333333{
    334334    ASSERT_WITH_SECURITY_IMPLICATION(from >= 0);
    335     ASSERT_WITH_SECURITY_IMPLICATION(to <= m_run.length());
     335    ASSERT_WITH_SECURITY_IMPLICATION(to <= static_cast<int>(m_run.length()));
    336336    m_fromIndex = from;
    337337    m_toIndex = to;
Note: See TracChangeset for help on using the changeset viewer.