Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bug 577976 - Part 6: Add cast to resolve ambiguity in case 'using' is…

…n't supported by compiler, r=bzbarsky
  • Loading branch information...
commit 5cd9198fd76e27f550651fe06e53f2e38db4c8c1 1 parent 508c107
Craig Topper authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  layout/style/nsCSSStyleSheet.cpp
View
2  layout/style/nsCSSStyleSheet.cpp
@@ -1274,7 +1274,7 @@ nsCSSStyleSheet::FindOwningWindowID() const
}
if (windowID == 0 && mOwnerRule) {
- nsCOMPtr<nsIStyleSheet> sheet = mOwnerRule->GetStyleSheet();
+ nsCOMPtr<nsIStyleSheet> sheet = static_cast<css::Rule*>(mOwnerRule)->GetStyleSheet();
if (sheet) {
nsRefPtr<nsCSSStyleSheet> cssSheet = do_QueryObject(sheet);
if (cssSheet) {
Please sign in to comment.
Something went wrong with that request. Please try again.