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

Unified Diff: content/public/common/child_process_sandbox_support_linux.h

Issue 12433021: Modify content::GetFontTable so clients can control what is read. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | « content/common/child_process_sandbox_support_impl_linux.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/child_process_sandbox_support_linux.h
diff --git a/content/public/common/child_process_sandbox_support_linux.h b/content/public/common/child_process_sandbox_support_linux.h
index 20945582c064a0c05322f1f4e695b65fae237a10..49d0bb92c6260ff3efc86768d802b668d8313244 100644
--- a/content/public/common/child_process_sandbox_support_linux.h
+++ b/content/public/common/child_process_sandbox_support_linux.h
@@ -35,10 +35,11 @@ CONTENT_EXPORT int MatchFontWithFallback(const std::string& face, bool bold,
// output: a buffer of size output_length that gets the data. can be 0, in
// which case output_length will be set to the required size in bytes.
// output_length: size of output, if it's not 0.
+// offset: offset into the font or table where loading should start.
//
// returns: true on success.
CONTENT_EXPORT bool GetFontTable(int fd, uint32_t table, uint8_t* output,
- size_t* output_length);
+ size_t* output_length, size_t offset);
brettw 2013/03/07 23:10:26 I think this would make more sense after the "tabl
bbudge 2013/03/07 23:50:57 Done.
}; // namespace content
« no previous file with comments | « content/common/child_process_sandbox_support_impl_linux.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698