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

Changeset 136149 in webkit


Ignore:
Timestamp:
Nov 29, 2012, 12:23:57 PM (14 years ago)
Author:
commit-queue@webkit.org
Message:

Typo in Color creation function name
​https://bugs.webkit.org/show_bug.cgi?id=103464

Patch by Helder Correia <Helder Correia> on 2012-11-29
Reviewed by Alexey Proskuryakov.

Renaming createUnCheked() as createUnchecked().

No new tests.

  • platform/graphics/Color.cpp:

(WebCore::colorFromPremultipliedARGB):

  • platform/graphics/Color.h:

(WebCore::Color::createUnchecked):

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r136148 r136149  
     12012-11-29  Helder Correia  <helder.correia@nokia.com>
     2
     3        Typo in Color creation function name
     4        https://bugs.webkit.org/show_bug.cgi?id=103464
     5
     6        Reviewed by Alexey Proskuryakov.
     7
     8        Renaming createUnCheked() as createUnchecked().
     9
     10        No new tests.
     11
     12        * platform/graphics/Color.cpp:
     13        (WebCore::colorFromPremultipliedARGB):
     14        * platform/graphics/Color.h:
     15        (WebCore::Color::createUnchecked):
     16
    1172012-11-29  Otto Derek Cheung  <otcheung@rim.com>
    218
  • trunk/Source/WebCore/platform/graphics/Color.cpp

    r127277 r136149  
    420420
    421421    if (unsigned alpha = (pixelColor & 0xFF000000) >> 24) {
    422         color = Color::createUnCheked(
     422        color = Color::createUnchecked(
    423423                        ((pixelColor & 0x00FF0000) >> 16) * 255 / alpha,
    424424                        ((pixelColor & 0x0000FF00) >> 8) * 255 / alpha,
  • trunk/Source/WebCore/platform/graphics/Color.h

    r127277 r136149  
    9090    explicit Color(const char*);
    9191
    92     static Color createUnCheked(int r, int g, int b)
     92    static Color createUnchecked(int r, int g, int b)
    9393    {
    9494        RGBA32 color = 0xFF000000 | r << 16 | g << 8 | b;
    9595        return Color(color);
    9696    }
    97     static Color createUnCheked(int r, int g, int b, int a)
     97    static Color createUnchecked(int r, int g, int b, int a)
    9898    {
    9999        RGBA32 color = a << 24 | r << 16 | g << 8 | b;
Note: See TracChangeset for help on using the changeset viewer.