Last Comment Bug 756748 - Use nsIAtom and nsINode in nsHTMLEditRules::ConvertListType
: Use nsIAtom and nsINode in nsHTMLEditRules::ConvertListType
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: Editor (show other bugs)
: Trunk
: All All
: -- normal (vote)
: mozilla16
Assigned To: :Ms2ger
:
Mentors:
Depends on: 756758
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-19 02:21 PDT by :Ms2ger
Modified: 2012-06-06 03:26 PDT (History)
1 user (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Patch v1 (15.58 KB, patch)
2012-05-19 02:21 PDT, :Ms2ger
ehsan: review+
Details | Diff | Splinter Review

Description :Ms2ger 2012-05-19 02:21:53 PDT
Created attachment 625379 [details] [diff] [review]
Patch v1
Comment 1 :Ms2ger 2012-05-19 02:22:19 PDT
Comment on attachment 625379 [details] [diff] [review]
Patch v1

You might like this:

>-  // we should get rid of this method if we can
>-  static inline bool NodeIsTypeString(nsIDOMNode *aNode, const nsAString &aTag)
>-  {
>-    nsIAtom *nodeAtom = GetTag(aNode);
>-    return nodeAtom && nodeAtom->Equals(aTag);
>-  }

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