mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 937843 - Make an argument to nsLayoutUtils::FindIDFor const. r=tn
This commit is contained in:
parent
f1b253ee94
commit
5f3734c16a
@ -516,7 +516,7 @@ static void DestroyViewID(void* aObject, nsIAtom* aPropertyName,
|
||||
*/
|
||||
|
||||
bool
|
||||
nsLayoutUtils::FindIDFor(nsIContent* aContent, ViewID* aOutViewId)
|
||||
nsLayoutUtils::FindIDFor(const nsIContent* aContent, ViewID* aOutViewId)
|
||||
{
|
||||
void* scrollIdProperty = aContent->GetProperty(nsGkAtoms::RemoteId);
|
||||
if (scrollIdProperty) {
|
||||
|
@ -85,7 +85,7 @@ public:
|
||||
* Finds previously assigned ViewID for the given content element, if any.
|
||||
* Returns whether a ViewID was previously assigned.
|
||||
*/
|
||||
static bool FindIDFor(nsIContent* aContent, ViewID* aOutViewId);
|
||||
static bool FindIDFor(const nsIContent* aContent, ViewID* aOutViewId);
|
||||
|
||||
/**
|
||||
* Finds previously assigned or generates a unique ViewID for the given
|
||||
|
Loading…
Reference in New Issue
Block a user