Title: [176840] trunk/Source/WebCore
- Revision
- 176840
- Author
- [email protected]
- Date
- 2014-12-05 02:29:32 -0800 (Fri, 05 Dec 2014)
Log Message
Fix build warning in WebCore/platform/graphics module
https://bugs.webkit.org/show_bug.cgi?id=139290
Patch by Shivakumar JM <[email protected]> on 2014-12-05
Reviewed by Carlos Garcia Campos.
Fix a build warning by removing parameter name from function.
No new tests, no behavior change.
* platform/graphics/freetype/FontCacheFreeType.cpp:
(WebCore::getFamilyNameStringFromFontDescriptionAndFamily):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (176839 => 176840)
--- trunk/Source/WebCore/ChangeLog 2014-12-05 08:11:27 UTC (rev 176839)
+++ trunk/Source/WebCore/ChangeLog 2014-12-05 10:29:32 UTC (rev 176840)
@@ -1,3 +1,17 @@
+2014-12-05 Shivakumar JM <[email protected]>
+
+ Fix build warning in WebCore/platform/graphics module
+ https://bugs.webkit.org/show_bug.cgi?id=139290
+
+ Reviewed by Carlos Garcia Campos.
+
+ Fix a build warning by removing parameter name from function.
+
+ No new tests, no behavior change.
+
+ * platform/graphics/freetype/FontCacheFreeType.cpp:
+ (WebCore::getFamilyNameStringFromFontDescriptionAndFamily):
+
2014-12-05 sungmin cho <[email protected]>
GraphicsLayerTextureMapper: Rename parameter to be more clear
Modified: trunk/Source/WebCore/platform/graphics/freetype/FontCacheFreeType.cpp (176839 => 176840)
--- trunk/Source/WebCore/platform/graphics/freetype/FontCacheFreeType.cpp 2014-12-05 08:11:27 UTC (rev 176839)
+++ trunk/Source/WebCore/platform/graphics/freetype/FontCacheFreeType.cpp 2014-12-05 10:29:32 UTC (rev 176840)
@@ -112,7 +112,7 @@
{
}
-static String getFamilyNameStringFromFontDescriptionAndFamily(const FontDescription& fontDescription, const AtomicString& family)
+static String getFamilyNameStringFromFamily(const AtomicString& family)
{
// If we're creating a fallback font (e.g. "-webkit-monospace"), convert the name into
// the fallback name (like "monospace") that fontconfig understands.
@@ -165,7 +165,7 @@
// says that we must find an exact match for font family, slant (italic or oblique can be used)
// and font weight (we only match bold/non-bold here).
RefPtr<FcPattern> pattern = adoptRef(FcPatternCreate());
- String familyNameString(getFamilyNameStringFromFontDescriptionAndFamily(fontDescription, family));
+ String familyNameString(getFamilyNameStringFromFamily(family));
if (!FcPatternAddString(pattern.get(), FC_FAMILY, reinterpret_cast<const FcChar8*>(familyNameString.utf8().data())))
return nullptr;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes