WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
22586
Remove WebCore CG-specific functions from Cairo Build of WebKit (Windows)
https://bugs.webkit.org/show_bug.cgi?id=22586
Summary
Remove WebCore CG-specific functions from Cairo Build of WebKit (Windows)
Brent Fulgham
Reported
2008-12-01 20:32:06 PST
The FontDatabase class is only needed for processing CG-based fonts. Since these are not used in the Cairo version of the Windows build, remove the database from the Cairo Windows target.
Attachments
Remove FontDatabase from Windows Cairo build.
(6.02 KB, patch)
2008-12-01 20:48 PST
,
Brent Fulgham
no flags
Details
Formatted Diff
Diff
Remove FontDatabase from Windows Cairo build.
(6.02 KB, patch)
2008-12-01 20:48 PST
,
Brent Fulgham
aroben
: review-
Details
Formatted Diff
Diff
Patch to remove some CG-specific code from the Cairo build.
(2.67 KB, patch)
2008-12-02 09:31 PST
,
Brent Fulgham
aroben
: review+
Details
Formatted Diff
Diff
Patch to remove some CG-specific code from the Cairo build.
(2.90 KB, patch)
2008-12-02 09:42 PST
,
Brent Fulgham
aroben
: review+
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Brent Fulgham
Comment 1
2008-12-01 20:48:58 PST
Created
attachment 25657
[details]
Remove FontDatabase from Windows Cairo build.
Brent Fulgham
Comment 2
2008-12-01 20:48:59 PST
Created
attachment 25658
[details]
Remove FontDatabase from Windows Cairo build.
Adam Roben (:aroben)
Comment 3
2008-12-01 22:12:33 PST
Comment on
attachment 25658
[details]
Remove FontDatabase from Windows Cairo build.
> Index: WebCore/ChangeLog > =================================================================== > --- WebCore/ChangeLog (revision 38852) > +++ WebCore/ChangeLog (working copy) > @@ -1,3 +1,15 @@ > +2008-11-30 Brent Fulgham <
bfulgham@gmail.com
> > + > + Reviewed by NOBODY (OOPS!). > + > +
https://bugs.webkit.org/show_bug.cgi?id=22586
> + Remove FontDatabase files from Cairo Windows build.
Maybe you should make the name of the bug more general since you're making other fixes in this change.
> + static Color focusRingColor; > + > + if (!focusRingColor.isValid()) > + focusRingColor = aquaFocusRingColor;
You can do this all in one statement: static Color focusRingColor = aquaFocusRingColor;
> + void populateFontDatabase() { /* Do nothing */ }
Why not just add this one stub to platform/win/TemporaryLinkStubs.cpp? r- because I don't think it's good to add another link stub file with a different name that's only for Cairo (at least not if the name doesn't indicate it's only for Cairo).
Brent Fulgham
Comment 4
2008-12-02 09:31:00 PST
Created
attachment 25672
[details]
Patch to remove some CG-specific code from the Cairo build. Revised patch based on aroben's comments: 1. Using the canonical stub file. 2. Switched to simplified focusRingColor implementation. 3. Revised bug title and description.
Adam Roben (:aroben)
Comment 5
2008-12-02 09:35:21 PST
Comment on
attachment 25672
[details]
Patch to remove some CG-specific code from the Cairo build.
> Index: WebCore/ChangeLog > =================================================================== > --- WebCore/ChangeLog (revision 38897) > +++ WebCore/ChangeLog (working copy) > @@ -1,3 +1,15 @@ > +2008-12-01 Brent Fulgham <
bfulgham@gmail.com
> > + > + Reviewed by NOBODY (OOPS!). > + > + WARNING: NO TEST CASES ADDED OR CHANGED
You should still reference the bug in the ChangeLog. You should also remove this line about no tests being added, and replace it with an explanation. r=me
Brent Fulgham
Comment 6
2008-12-02 09:42:27 PST
Created
attachment 25673
[details]
Patch to remove some CG-specific code from the Cairo build. Revised patch to address aroben's ChangeLog suggestions.
Adam Roben (:aroben)
Comment 7
2008-12-02 09:43:46 PST
Comment on
attachment 25673
[details]
Patch to remove some CG-specific code from the Cairo build. r=me
Eric Seidel (no email)
Comment 8
2008-12-02 11:01:18 PST
Committing to
http://svn.webkit.org/repository/webkit/trunk
... M WebCore/ChangeLog M WebCore/WebCore.vcproj/WebCore.vcproj M WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp M WebCore/platform/win/TemporaryLinkStubs.cpp Committed
r38906
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug