Bug 798573 - remove prtypes.h #includes in dom/; r=ehsan

This commit is contained in:
Nathan Froyd 2012-10-05 17:28:24 -04:00
parent fa100cd878
commit 14c4b5f9e8
6 changed files with 1 additions and 6 deletions

View File

@ -18,7 +18,6 @@
#define DOM_CAMERA_GONKCAMERACONTROL_H #define DOM_CAMERA_GONKCAMERACONTROL_H
#include "base/basictypes.h" #include "base/basictypes.h"
#include "prtypes.h"
#include "prrwlock.h" #include "prrwlock.h"
#include "nsIDOMCameraManager.h" #include "nsIDOMCameraManager.h"
#include "DOMCameraControl.h" #include "DOMCameraControl.h"

View File

@ -8,7 +8,6 @@
/* This must occur *after* layers/PLayers.h to avoid typedefs conflicts. */ /* This must occur *after* layers/PLayers.h to avoid typedefs conflicts. */
#include "mozilla/Util.h" #include "mozilla/Util.h"
#include "prtypes.h"
#include "prmem.h" #include "prmem.h"
#include "prenv.h" #include "prenv.h"
#include "prclist.h" #include "prclist.h"

View File

@ -7,7 +7,6 @@
#ifndef nsPluginInstanceOwner_h_ #ifndef nsPluginInstanceOwner_h_
#define nsPluginInstanceOwner_h_ #define nsPluginInstanceOwner_h_
#include "prtypes.h"
#include "npapi.h" #include "npapi.h"
#include "nsCOMPtr.h" #include "nsCOMPtr.h"
#include "nsIPluginInstanceOwner.h" #include "nsIPluginInstanceOwner.h"

View File

@ -7,7 +7,6 @@
#define nsPluginTags_h_ #define nsPluginTags_h_
#include "nscore.h" #include "nscore.h"
#include "prtypes.h"
#include "nsAutoPtr.h" #include "nsAutoPtr.h"
#include "nsCOMPtr.h" #include "nsCOMPtr.h"
#include "nsCOMArray.h" #include "nsCOMArray.h"

View File

@ -3278,7 +3278,7 @@ getClipboardText(NPObject* npobj, const NPVariant* args, uint32_t argCount,
InstanceData* id = static_cast<InstanceData*>(npp->pdata); InstanceData* id = static_cast<InstanceData*>(npp->pdata);
string sel = pluginGetClipboardText(id); string sel = pluginGetClipboardText(id);
uint32 len = sel.size(); uint32_t len = sel.size();
char* selCopy = static_cast<char*>(NPN_MemAlloc(1 + len)); char* selCopy = static_cast<char*>(NPN_MemAlloc(1 + len));
if (!selCopy) if (!selCopy)
return false; return false;

View File

@ -39,7 +39,6 @@
#include "npapi.h" #include "npapi.h"
#include "npfunctions.h" #include "npfunctions.h"
#include "npruntime.h" #include "npruntime.h"
#include "prtypes.h"
#include "mozilla/StandardInteger.h" #include "mozilla/StandardInteger.h"
#include <string> #include <string>
#include <sstream> #include <sstream>