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

Unified Diff: webkit/plugins/npapi/test/plugin_get_javascript_url_test.cc

Issue 8817014: Add a non-null check for a pointer to NPAPIClient::ExecuteGetJavascriptUrlTest::TimerProc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/npapi/test/plugin_get_javascript_url_test.cc
===================================================================
--- webkit/plugins/npapi/test/plugin_get_javascript_url_test.cc (revision 113169)
+++ webkit/plugins/npapi/test/plugin_get_javascript_url_test.cc (working copy)
@@ -5,6 +5,7 @@
#include "webkit/plugins/npapi/test/plugin_get_javascript_url_test.h"
#include "base/basictypes.h"
+#include "base/logging.h"
// url for "self".
#define SELF_URL "javascript:window.location+\"\""
@@ -67,6 +68,7 @@
ExecuteGetJavascriptUrlTest* this_instance =
reinterpret_cast<ExecuteGetJavascriptUrlTest*>
(::GetProp(window, L"Plugin_Instance"));
+ CHECK(this_instance);
::RemoveProp(window, L"Plugin_Instance");
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698