Changeset 163260 in webkit


Ignore:
Timestamp:
Feb 1, 2014 11:45:32 PM (10 years ago)
Author:
Alan Bujtas
Message:

Subpixel rendering: LayoutUnit operator++ is broken.
https://bugs.webkit.org/show_bug.cgi?id=128056

Reviewed by Darin Adler.

Add pre-increment operator++.

  • platform/LayoutUnit.h:

(WebCore::LayoutUnit::operator++):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r163258 r163260  
     12014-02-01  Zalan Bujtas  <zalan@apple.com>
     2
     3        Subpixel rendering: LayoutUnit operator++ is broken.
     4        https://bugs.webkit.org/show_bug.cgi?id=128056
     5
     6        Reviewed by Darin Adler.
     7
     8        Add pre-increment operator++.
     9
     10        * platform/LayoutUnit.h:
     11        (WebCore::LayoutUnit::operator++):
     12
    1132014-02-01  Darin Adler  <darin@apple.com>
    214
  • trunk/Source/WebCore/platform/LayoutUnit.h

    r162791 r163260  
    191191    operator bool() const { return m_value; }
    192192
    193     LayoutUnit operator++(int)
     193    LayoutUnit& operator++()
    194194    {
    195195        m_value += kEffectiveFixedPointDenominator;
Note: See TracChangeset for help on using the changeset viewer.