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

Unified Diff: webkit/glue/plugins/test/plugin_npobject_proxy_test.cc

Issue 1073003: Added a test for pepper3d. It ensures that we can successfully load a pepper ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 | « webkit/glue/plugins/test/plugin_npobject_lifetime_test.cc ('k') | webkit/glue/plugins/test/plugin_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/test/plugin_npobject_proxy_test.cc
===================================================================
--- webkit/glue/plugins/test/plugin_npobject_proxy_test.cc (revision 42644)
+++ webkit/glue/plugins/test/plugin_npobject_proxy_test.cc (working copy)
@@ -18,6 +18,9 @@
}
NPError NPObjectProxyTest::SetWindow(NPWindow* pNPWindow) {
+ if (pNPWindow->window == NULL)
+ return NPERR_NO_ERROR;
+
NPIdentifier document_id = HostFunctions()->getstringidentifier("document");
NPIdentifier create_text_node_id = HostFunctions()->getstringidentifier("createTextNode");
NPIdentifier append_child_id = HostFunctions()->getstringidentifier("appendChild");
« no previous file with comments | « webkit/glue/plugins/test/plugin_npobject_lifetime_test.cc ('k') | webkit/glue/plugins/test/plugin_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698