Last Comment Bug 779442 - Fix still more nsresult misuse
: Fix still more nsresult misuse
Product: Core
Classification: Components
Component: General (show other bugs)
: Trunk
: All All
: -- minor (vote)
: mozilla17
Assigned To: :Aryeh Gregor (away until August 15)
Depends on:
Blocks: nsresult-enum
  Show dependency treegraph
Reported: 2012-08-01 02:38 PDT by :Aryeh Gregor (away until August 15)
Modified: 2012-08-08 09:27 PDT (History)
1 user (show)
ayg: in‑testsuite-
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

Patch (4.50 KB, patch)
2012-08-01 02:42 PDT, :Aryeh Gregor (away until August 15)
ehsan: review+
Details | Diff | Splinter Review

Description :Aryeh Gregor (away until August 15) 2012-08-01 02:38:27 PDT

Comment 1 :Aryeh Gregor (away until August 15) 2012-08-01 02:42:15 PDT
Created attachment 647892 [details] [diff] [review]

The imgStatusTracker field here is used as a PRUint32 by all callers that I see.  It's evidently meant to contain the values of an anonymous enum member of imgIRequest, so PRUint32 is the right type until someone gives it a name.

I'm not totally sure that the nsUrlClassifierStore change doesn't need module peer review -- it might be unintentional that it returns NS_OK.
Comment 2 :Aryeh Gregor (away until August 15) 2012-08-01 02:43:04 PDT
Comment on attachment 647892 [details] [diff] [review]

(No part 2 intended here.)
Comment 3 :Aryeh Gregor (away until August 15) 2012-08-08 02:27:51 PDT
Comment 4 Ed Morley [:emorley] 2012-08-08 09:27:28 PDT

Note You need to log in before you can comment on or make changes to this bug.