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

Unified Diff: ppapi/thunk/ppb_flash_font_file_thunk.cc

Issue 1416643002: Enable pp::flash::FontFile support on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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: ppapi/thunk/ppb_flash_font_file_thunk.cc
diff --git a/ppapi/thunk/ppb_flash_font_file_thunk.cc b/ppapi/thunk/ppb_flash_font_file_thunk.cc
index 3a073657a60f873f116ffb6c694a31a4535f9642..407e224a73c0391135bf8959984e043a15a3aadd 100644
--- a/ppapi/thunk/ppb_flash_font_file_thunk.cc
+++ b/ppapi/thunk/ppb_flash_font_file_thunk.cc
@@ -37,7 +37,13 @@ PP_Bool GetFontTable(PP_Resource font_file,
return enter.object()->GetFontTable(table, output, output_length);
}
-const PPB_Flash_FontFile g_ppb_flash_fontfile_thunk = {
+const PPB_Flash_FontFile_0_1 g_ppb_flash_fontfile_thunk_0_1 = {
+ &Create,
+ &IsFlashFontFile,
+ &GetFontTable
+};
+
+const PPB_Flash_FontFile_0_2 g_ppb_flash_fontfile_thunk_0_2 = {
&Create,
&IsFlashFontFile,
&GetFontTable
@@ -46,7 +52,11 @@ const PPB_Flash_FontFile g_ppb_flash_fontfile_thunk = {
} // namespace
const PPB_Flash_FontFile_0_1* GetPPB_Flash_FontFile_0_1_Thunk() {
- return &g_ppb_flash_fontfile_thunk;
+ return &g_ppb_flash_fontfile_thunk_0_1;
+}
+
+const PPB_Flash_FontFile_0_2* GetPPB_Flash_FontFile_0_2_Thunk() {
+ return &g_ppb_flash_fontfile_thunk_0_2;
}
} // namespace thunk
« ppapi/api/private/ppb_flash_font_file.idl ('K') | « ppapi/thunk/interfaces_ppb_private_flash.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698