WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
40544
[Chromium] Add stubs for OOP font loading to Chromium WebKit API on OSX.
https://bugs.webkit.org/show_bug.cgi?id=40544
Summary
[Chromium] Add stubs for OOP font loading to Chromium WebKit API on OSX.
Jeremy Moskovich
Reported
2010-06-13 04:32:20 PDT
Add stubs for OOP font loading to Chromium WebKit API on OSX
Attachments
patch 1
(6.97 KB, patch)
2010-06-13 04:39 PDT
,
Jeremy Moskovich
fishd
: review-
Details
Formatted Diff
Diff
patch 2
(7.24 KB, patch)
2010-06-14 23:14 PDT
,
Jeremy Moskovich
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Jeremy Moskovich
Comment 1
2010-06-13 04:39:49 PDT
Created
attachment 58590
[details]
patch 1 With this patch, there will be versions of WebSandboxSupport for Mac/Windows & Linux.
Darin Fisher (:fishd, Google)
Comment 2
2010-06-14 11:46:34 PDT
Comment on
attachment 58590
[details]
patch 1 WebCore/platform/chromium/ChromiumBridge.h:143 + #endif nit: please add a new line after the #endif WebKit/chromium/src/ChromiumBridge.cpp:410 + return ss ? ss->loadFont(srcFont, out) : true; why return true when there is no sandbox support? shouldn't you also do |*out = 0;| before returning? WebCore/platform/chromium/ChromiumBridge.h:50 + nit: no need for this new line here. it is nice to keep the OS(DARWIN) block as one contiguous block since it is fairly small.
Jeremy Moskovich
Comment 3
2010-06-14 23:14:56 PDT
Created
attachment 58755
[details]
patch 2 As noted in the comment, loadFont() should only be called when font loading is blocked by the Sandbox. This is a distinct error from any other font loading error and thus if the function is called with the Sandbox not present, that would indicate a programming error.
WebKit Commit Bot
Comment 4
2010-06-17 17:24:16 PDT
Comment on
attachment 58755
[details]
patch 2 Clearing flags on attachment: 58755 Committed
r61361
: <
http://trac.webkit.org/changeset/61361
>
WebKit Commit Bot
Comment 5
2010-06-17 17:24:21 PDT
All reviewed patches have been landed. Closing bug.
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