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

Unified Diff: ppapi/thunk/ppb_fullscreen_thunk.cc

Issue 10168026: Delete FunctionGroupBase from Pepper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 | « ppapi/thunk/ppb_flash_message_loop_thunk.cc ('k') | ppapi/thunk/ppb_gamepad_thunk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_fullscreen_thunk.cc
diff --git a/ppapi/thunk/ppb_fullscreen_thunk.cc b/ppapi/thunk/ppb_fullscreen_thunk.cc
index b2419385ef07d346fad99e11ffce5758579f18c6..d8904f2c1451344e0a9d6aaf402c22ce50f52cf2 100644
--- a/ppapi/thunk/ppb_fullscreen_thunk.cc
+++ b/ppapi/thunk/ppb_fullscreen_thunk.cc
@@ -15,7 +15,7 @@ namespace thunk {
namespace {
PP_Bool IsFullscreen(PP_Instance instance) {
- EnterFunction<PPB_Instance_FunctionAPI> enter(instance, true);
+ EnterInstance enter(instance);
if (enter.failed())
return PP_FALSE;
const ViewData* view = enter.functions()->GetViewData(instance);
@@ -25,14 +25,14 @@ PP_Bool IsFullscreen(PP_Instance instance) {
}
PP_Bool SetFullscreen(PP_Instance instance, PP_Bool fullscreen) {
- EnterFunction<PPB_Instance_FunctionAPI> enter(instance, true);
+ EnterInstance enter(instance);
if (enter.failed())
return PP_FALSE;
return enter.functions()->SetFullscreen(instance, fullscreen);
}
PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size) {
- EnterFunction<PPB_Instance_FunctionAPI> enter(instance, true);
+ EnterInstance enter(instance);
if (enter.failed())
return PP_FALSE;
return enter.functions()->GetScreenSize(instance, size);
« no previous file with comments | « ppapi/thunk/ppb_flash_message_loop_thunk.cc ('k') | ppapi/thunk/ppb_gamepad_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698