Title: [136149] trunk/Source/WebCore
- Revision
- 136149
- Author
- [email protected]
- Date
- 2012-11-29 12:23:57 -0800 (Thu, 29 Nov 2012)
Log Message
Typo in Color creation function name
https://bugs.webkit.org/show_bug.cgi?id=103464
Patch by Helder Correia <[email protected]> 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):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (136148 => 136149)
--- trunk/Source/WebCore/ChangeLog 2012-11-29 20:15:27 UTC (rev 136148)
+++ trunk/Source/WebCore/ChangeLog 2012-11-29 20:23:57 UTC (rev 136149)
@@ -1,3 +1,19 @@
+2012-11-29 Helder Correia <[email protected]>
+
+ Typo in Color creation function name
+ https://bugs.webkit.org/show_bug.cgi?id=103464
+
+ Reviewed by Alexey Proskuryakov.
+
+ Renaming createUnCheked() as createUnchecked().
+
+ No new tests.
+
+ * platform/graphics/Color.cpp:
+ (WebCore::colorFromPremultipliedARGB):
+ * platform/graphics/Color.h:
+ (WebCore::Color::createUnchecked):
+
2012-11-29 Otto Derek Cheung <[email protected]>
[BlackBerry] Cookies in private mode should not have access to public cookies
Modified: trunk/Source/WebCore/platform/graphics/Color.cpp (136148 => 136149)
--- trunk/Source/WebCore/platform/graphics/Color.cpp 2012-11-29 20:15:27 UTC (rev 136148)
+++ trunk/Source/WebCore/platform/graphics/Color.cpp 2012-11-29 20:23:57 UTC (rev 136149)
@@ -419,7 +419,7 @@
Color color;
if (unsigned alpha = (pixelColor & 0xFF000000) >> 24) {
- color = Color::createUnCheked(
+ color = Color::createUnchecked(
((pixelColor & 0x00FF0000) >> 16) * 255 / alpha,
((pixelColor & 0x0000FF00) >> 8) * 255 / alpha,
(pixelColor & 0x000000FF) * 255 / alpha,
Modified: trunk/Source/WebCore/platform/graphics/Color.h (136148 => 136149)
--- trunk/Source/WebCore/platform/graphics/Color.h 2012-11-29 20:15:27 UTC (rev 136148)
+++ trunk/Source/WebCore/platform/graphics/Color.h 2012-11-29 20:23:57 UTC (rev 136149)
@@ -89,12 +89,12 @@
explicit Color(const String&);
explicit Color(const char*);
- static Color createUnCheked(int r, int g, int b)
+ static Color createUnchecked(int r, int g, int b)
{
RGBA32 color = 0xFF000000 | r << 16 | g << 8 | b;
return Color(color);
}
- static Color createUnCheked(int r, int g, int b, int a)
+ static Color createUnchecked(int r, int g, int b, int a)
{
RGBA32 color = a << 24 | r << 16 | g << 8 | b;
return Color(color);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes