diff --git a/content/base/src/nsContentPolicy.cpp b/content/base/src/nsContentPolicy.cpp index 4c45adbdcdd..9058d4497b5 100644 --- a/content/base/src/nsContentPolicy.cpp +++ b/content/base/src/nsContentPolicy.cpp @@ -144,7 +144,7 @@ nsContentPolicy::CheckPolicy(CPMethod policyMethod, * their permissions. */ nsresult rv; - const nsCOMArray& entries(mPolicies.GetEntries()); + const nsCOMArray& entries = mPolicies.GetEntries(); PRInt32 count = entries.Count(); for (PRInt32 i = 0; i < count; i++) { /* check the appropriate policy */