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

Unified Diff: ppapi/thunk/ppb_flash_clipboard_thunk.cc

Issue 9113044: Convert to new enter method (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: PATCH DESCRIPTIONS ARE A STUPID WASTE OF TIME Created 8 years, 11 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_file_system_thunk.cc ('k') | ppapi/thunk/ppb_flash_menu_thunk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_flash_clipboard_thunk.cc
diff --git a/ppapi/thunk/ppb_flash_clipboard_thunk.cc b/ppapi/thunk/ppb_flash_clipboard_thunk.cc
index ffecb3466083221d8fd937aaeb0371a8febdf3e7..ba2fca3c6b2e2ca0f9e38a1a99536699d2acbb80 100644
--- a/ppapi/thunk/ppb_flash_clipboard_thunk.cc
+++ b/ppapi/thunk/ppb_flash_clipboard_thunk.cc
@@ -37,7 +37,7 @@ int32_t WritePlainText(PP_Instance instance,
PP_Var text) {
EnterFlashClipboard enter(instance, true);
if (enter.failed())
- return PP_ERROR_NOINTERFACE;
+ return enter.retval();
return enter.functions()->WritePlainText(instance, clipboard_type, text);
}
« no previous file with comments | « ppapi/thunk/ppb_file_system_thunk.cc ('k') | ppapi/thunk/ppb_flash_menu_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698