Closed Bug 864646 Opened 12 years ago Closed 12 years ago

get rid nsARIAMap struct

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla23

People

(Reporter: surkov, Assigned: surkov)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
No description provided.
Attachment #740658 - Flags: review?(trev.saunders)
Not sure the summary is accurate? Looks like good cleanup though :)
(In reply to David Bolter [:davidb] from comment #1) > Not sure the summary is accurate? Looks like good cleanup though :) feel free to fix it :) (but technically nsARIAMap struct has gone)
Comment on attachment 740658 [details] [diff] [review] patch >+struct AttrCharacteristics >+{ >+ nsIAtom** attributeName; can that be more const? >diff --git a/accessible/src/base/ARIAStateMap.cpp b/accessible/src/base/ARIAStateMap.cpp >--- a/accessible/src/base/ARIAStateMap.cpp >+++ b/accessible/src/base/ARIAStateMap.cpp >@@ -1,17 +1,15 @@ > /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ > /* vim: set ts=2 et sw=2 tw=80: */ > /* This Source Code Form is subject to the terms of the Mozilla Public > * License, v. 2.0. If a copy of the MPL was not distributed with this file, > * You can obtain one at http://mozilla.org/MPL/2.0/. */ > >-#include "ARIAStateMap.h" >- >-#include "nsARIAMap.h" >+#include "ARIAMap.h" I'd prefer this explicitly included ARIAStateMap.h instead of relying on it being pulled in especially since its ARIAStateMap.cpp
Attachment #740658 - Flags: review?(trev.saunders) → review+
> I'd prefer this explicitly included ARIAStateMap.h instead of relying on it > being pulled in especially since its ARIAStateMap.cpp I don't think these files are supposed for separate usage, it's like NotificationController and EventQueue
(In reply to Trevor Saunders (:tbsaunde) from comment #3) > Comment on attachment 740658 [details] [diff] [review] > patch > > >+struct AttrCharacteristics > >+{ > >+ nsIAtom** attributeName; > > can that be more const? nsGkAtoms aren't const
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: