Skip to content

Commit 2588d2a

Browse files
committed
Bug 586711 - Incubator embedding requires switching to XRE_InitEmbedding2. add missing nits fixes. r=mark.finkle
1 parent 52db7d3 commit 2588d2a

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

common/EmbeddingSetup.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ nsresult InitEmbedding(const char* aProfilePath)
279279
rv = XRE_InitEmbedding2(xuldir, appdir,
280280
const_cast<MozEmbedDirectoryProvider*>(&kDirectoryProvider));
281281
if (NS_FAILED(rv)) {
282-
cerr << "XRE_InitEmbedding failed." << endl;
282+
cerr << "XRE_InitEmbedding2 failed." << endl;
283283
return 9;
284284
}
285285

common/EmbeddingSetup.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,6 @@ typedef PRUint32 nsresult;
5454
* @param aProfilePath Optional argument to set the path where
5555
* profile data is stored. The directory will be created if it
5656
* doesn't exist.
57-
* @param aComps Optional argument to register static
58-
* components at startup.
59-
* @param aNumComps Optional argument to set number of
60-
* static components.
6157
*/
6258
nsresult InitEmbedding(const char* aProfilePath = 0);
6359

0 commit comments

Comments
 (0)