Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Unified Diff: Source/WebKit/chromium/src/PlatformBridge.cpp

Issue 7618010: Merge 92269 - [Chromium] Fix OOP font loading to work on 10.6.6 and above. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebKit/chromium/public/mac/WebSandboxSupport.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/src/PlatformBridge.cpp
===================================================================
--- Source/WebKit/chromium/src/PlatformBridge.cpp (revision 92838)
+++ Source/WebKit/chromium/src/PlatformBridge.cpp (working copy)
@@ -444,17 +444,18 @@
#endif
#if OS(DARWIN)
-bool PlatformBridge::loadFont(NSFont* srcFont, ATSFontContainerRef* out)
+bool PlatformBridge::loadFont(NSFont* srcFont, ATSFontContainerRef* container, uint32_t* fontID)
{
WebSandboxSupport* ss = webKitClient()->sandboxSupport();
if (ss)
- return ss->loadFont(srcFont, out);
+ return ss->loadFont(srcFont, container, fontID);
// This function should only be called in response to an error loading a
// font due to being blocked by the sandbox.
// This by definition shouldn't happen if there is no sandbox support.
ASSERT_NOT_REACHED();
- *out = 0;
+ *container = 0;
+ *fontID = 0;
return false;
}
#elif OS(UNIX)
« no previous file with comments | « Source/WebKit/chromium/public/mac/WebSandboxSupport.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698