From 6c297f1ea162125f1e9b7cb4bc49121a4b6b2eb4 Mon Sep 17 00:00:00 2001 From: Ed Morley Date: Wed, 13 Feb 2013 12:05:36 +0000 Subject: [PATCH] Backed out changeset 230f42e5e26d (bug 813906) --- dom/plugins/test/testplugin/nptest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dom/plugins/test/testplugin/nptest.cpp b/dom/plugins/test/testplugin/nptest.cpp index df80d1f5e39a..db7a6d2f795c 100644 --- a/dom/plugins/test/testplugin/nptest.cpp +++ b/dom/plugins/test/testplugin/nptest.cpp @@ -585,6 +585,8 @@ drawAsyncBitmapColor(InstanceData* instanceData) static bool bug813906(NPP npp, const char* const function, const char* const url, const char* const frame) { + InstanceData* id = static_cast(npp->pdata); + NPObject *windowObj = nullptr; NPError err = NPN_GetValue(npp, NPNVWindowNPObject, &windowObj); if (err != NPERR_NO_ERROR) {