Closed
Bug 864646
Opened 12 years ago
Closed 12 years ago
get rid nsARIAMap struct
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla23
People
(Reporter: surkov, Assigned: surkov)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
23.10 KB,
patch
|
tbsaunde
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Updated•12 years ago
|
Attachment #740658 -
Flags: review?(trev.saunders)
Comment 1•12 years ago
|
||
Not sure the summary is accurate? Looks like good cleanup though :)
Assignee | ||
Comment 2•12 years ago
|
||
(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 3•12 years ago
|
||
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+
Assignee | ||
Comment 4•12 years ago
|
||
> 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
Assignee | ||
Comment 5•12 years ago
|
||
(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
Assignee | ||
Comment 6•12 years ago
|
||
Comment 7•12 years ago
|
||
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.
Description
•