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

Unified Diff: Source/WebKit/chromium/public/mac/WebSandboxSupport.h

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
Index: Source/WebKit/chromium/public/mac/WebSandboxSupport.h
===================================================================
--- Source/WebKit/chromium/public/mac/WebSandboxSupport.h (revision 92838)
+++ Source/WebKit/chromium/public/mac/WebSandboxSupport.h (working copy)
@@ -46,7 +46,8 @@
public:
// Given an input font - |srcFont| [which can't be loaded due to sandbox
// restrictions]. Return a font container belonging to an equivalent
- // font file that can be used to access the font.
+ // font file that can be used to access the font and a unique identifier
+ // corresponding to the on-disk font file.
//
// Note that a font container may contain multiple fonts, the caller is
// responsible for retreiving the appropriate font from the container.
@@ -55,7 +56,7 @@
// parameter and must call ATSFontDeactivate() to unload it when done.
//
// Returns: true on success, false on error.
- virtual bool loadFont(NSFont* srcFont, ATSFontContainerRef* out) = 0;
+ virtual bool loadFont(NSFont* srcFont, ATSFontContainerRef*, uint32_t* fontID) = 0;
};
} // namespace WebKit
« no previous file with comments | « Source/WebCore/platform/graphics/chromium/CrossProcessFontLoading.mm ('k') | Source/WebKit/chromium/src/PlatformBridge.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698