Last Comment Bug 660529 - Useless use of PromiseFlatString
: Useless use of PromiseFlatString
Product: Core
Classification: Components
Component: Security: PSM (show other bugs)
: Trunk
: All All
-- trivial (vote)
: ---
Assigned To:
: David Keeler [:keeler] (use needinfo?)
Depends on:
  Show dependency treegraph
Reported: 2011-05-29 06:16 PDT by
Modified: 2011-07-04 14:09 PDT (History)
1 user (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

Proposed patch (1.03 KB, patch)
2011-05-29 06:17 PDT,
kaie: review+
Details | Diff | Splinter Review

Description User image 2011-05-29 06:16:01 PDT
There's no point calling PromiseFlatString on a known flat string.
Comment 1 User image 2011-05-29 06:17:01 PDT
Created attachment 535927 [details] [diff] [review]
Proposed patch

I also moved the call to NS_Convert... for consistency.
Comment 2 User image Kai Engert (:kaie) 2011-07-04 11:09:01 PDT
Comment on attachment 535927 [details] [diff] [review]
Proposed patch

thanks, r=kaie
Comment 3 User image 2011-07-04 14:09:13 PDT
Pushed changeset 320e5abc6f5a to mozilla-central.

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