mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 00:32:11 +00:00
changing static_cast to use NS_STATIC_CAST instead...
This commit is contained in:
parent
e88987eb6d
commit
d873ae6b92
@ -648,7 +648,7 @@ void nsViewManager2::RenderViews(nsIView *aRootView, nsIRenderingContext& aRC, c
|
||||
|
||||
// draw all views in the display list, from back to front.
|
||||
for (PRInt32 i = count - 1; i>= 0; --i) {
|
||||
DisplayListElement* element = static_cast<DisplayListElement*>(mDisplayList->ElementAt(i));
|
||||
DisplayListElement* element = NS_STATIC_CAST(DisplayListElement*, mDisplayList->ElementAt(i));
|
||||
if (element->mFlags & PUSH_CLIP) {
|
||||
aRC.PushState();
|
||||
aRC.SetClipRect(element->mClip, nsClipCombine_kIntersect, clipEmpty);
|
||||
|
Loading…
Reference in New Issue
Block a user