WebKit Bugzilla
Attachment 348003 Details for
Bug 188919
: [FreeType] Do not cast through GLib types in FontCustomPlatformDataFreeType.cpp
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-188919-20180824161258.patch (text/plain), 1.79 KB, created by
Adrian Perez
on 2018-08-24 06:13:00 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Adrian Perez
Created:
2018-08-24 06:13:00 PDT
Size:
1.79 KB
patch
obsolete
>Subversion Revision: 235316 >diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog >index 66caabc4ef44adad830993a4177c44640ca2420d..b1801b1b08b747619a14742b5c33b598f274ce56 100644 >--- a/Source/WebCore/ChangeLog >+++ b/Source/WebCore/ChangeLog >@@ -1,3 +1,16 @@ >+2018-08-24 Adrian Perez de Castro <aperez@igalia.com> >+ >+ [FreeType] Unneeded double cast using a GLib type in FontCustomPlatformDataFreeType.cpp >+ https://bugs.webkit.org/show_bug.cgi?id=188919 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ No new tests needed. >+ >+ * platform/graphics/freetype/FontCustomPlatformDataFreeType.cpp: >+ (WebCore::FontCustomPlatformData::FontCustomPlatformData): Remove >+ unneeded double cast, which also removes the usage of GCallback. >+ > 2018-08-24 Frederic Wang <fwang@igalia.com> > > Remove ScrollByPrecisePixel granularity >diff --git a/Source/WebCore/platform/graphics/freetype/FontCustomPlatformDataFreeType.cpp b/Source/WebCore/platform/graphics/freetype/FontCustomPlatformDataFreeType.cpp >index bd9cd0009afba09ef51ed4e8e0fc2c44f11f2faf..c9ea7331635a66cd02f51773a5e92e47499e9bce 100644 >--- a/Source/WebCore/platform/graphics/freetype/FontCustomPlatformDataFreeType.cpp >+++ b/Source/WebCore/platform/graphics/freetype/FontCustomPlatformDataFreeType.cpp >@@ -48,7 +48,7 @@ FontCustomPlatformData::FontCustomPlatformData(FT_Face freeTypeFace, SharedBuffe > // this cairo_font_face_t is destroyed, it cleans up the FreeType face as well. > static cairo_user_data_key_t freeTypeFaceKey; > cairo_font_face_set_user_data(m_fontFace, &freeTypeFaceKey, freeTypeFace, >- reinterpret_cast<cairo_destroy_func_t>(reinterpret_cast<GCallback>(FT_Done_Face))); >+ reinterpret_cast<cairo_destroy_func_t>(FT_Done_Face)); > } > > FontCustomPlatformData::~FontCustomPlatformData()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 188919
:
348003
|
348005