Skip to content

Commit

Permalink
bug 747409. Use a unique-per-webapp value for the "name" of the nsXRE…
Browse files Browse the repository at this point in the history
…AppData struct. This way, webapps will not get confused about whether existing webapp windows are their windows. r=myk. a=desktop-only
  • Loading branch information
TimAbraldes committed Apr 23, 2012
1 parent 918c235 commit b3c2a3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webapprt/win/webapprt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ namespace {
NS_ENSURE_SUCCESS(rv, rv);

SetAllocatedString(webShellAppData->profile, profile);
SetAllocatedString(webShellAppData->name, profile);

nsCOMPtr<nsILocalFile> directory;
rv = XRE_GetFileFromPath(rtPath, getter_AddRefs(directory));
Expand Down

0 comments on commit b3c2a3e

Please sign in to comment.