Bug 37829

Summary: Wrong header being included in FontPlatformDataCairo.cpp
Product: WebKit Reporter: Luís Felipe Strano Moraes <lfelipe>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Minor CC: commit-queue, lfelipe
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Proposed patch
none
Include just gdk instead of gtk for FontPlatformDataCairo.cpp none

Description Luís Felipe Strano Moraes 2010-04-19 16:01:05 PDT
Created attachment 53733 [details]
Proposed patch

The file WebCore/platform/graphics/cairo/FontPlatformDataCairo.cpp includes the gtk header when in fact it only uses gdk. A simple s/gtk/gdk/ fixes it (attached).
Comment 1 Gustavo Sverzut Barbieri 2010-04-20 07:11:42 PDT
Created attachment 53812 [details]
Include just gdk instead of gtk for FontPlatformDataCairo.cpp

WebCore/platform/graphics/cairo/FontPlatformDataCairo.cpp just use GDK to discover if there are X settings on some screen to adjust its parameters. So no need to include gtk.h there.
Comment 2 Xan Lopez 2010-04-20 07:16:42 PDT
Comment on attachment 53812 [details]
Include just gdk instead of gtk for FontPlatformDataCairo.cpp

r=me
Comment 3 WebKit Commit Bot 2010-04-21 08:18:52 PDT
Comment on attachment 53812 [details]
Include just gdk instead of gtk for FontPlatformDataCairo.cpp

Clearing flags on attachment: 53812

Committed r57984: <http://trac.webkit.org/changeset/57984>
Comment 4 WebKit Commit Bot 2010-04-21 08:18:57 PDT
All reviewed patches have been landed.  Closing bug.