Bug 337917 Make consumers stop using cids from other modules
git-svn-id: svn://10.0.0.236/trunk@200245 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -176,7 +176,6 @@
|
||||
#include "nsPluginError.h"
|
||||
|
||||
static NS_DEFINE_IID(kDeviceContextCID, NS_DEVICE_CONTEXT_CID);
|
||||
static NS_DEFINE_CID(kSimpleURICID, NS_SIMPLEURI_CID);
|
||||
static NS_DEFINE_CID(kDOMScriptObjectFactoryCID,
|
||||
NS_DOM_SCRIPT_OBJECT_FACTORY_CID);
|
||||
static NS_DEFINE_CID(kAppShellCID, NS_APPSHELL_CID);
|
||||
@@ -855,7 +854,7 @@ nsDocShell::LoadStream(nsIInputStream *aStream, nsIURI * aURI,
|
||||
if (!uri) {
|
||||
// HACK ALERT
|
||||
nsresult rv = NS_OK;
|
||||
uri = do_CreateInstance(kSimpleURICID, &rv);
|
||||
uri = do_CreateInstance(NS_SIMPLEURI_CONTRACTID, &rv);
|
||||
if (NS_FAILED(rv))
|
||||
return rv;
|
||||
// Make sure that the URI spec "looks" like a protocol and path...
|
||||
|
||||
Reference in New Issue
Block a user