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

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: Remove common.h 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
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);
}

Powered by Google App Engine
This is Rietveld 408576698