Skip to content

Commit

Permalink
b=797568 don't try to get non-existant ImageContainer with in-process…
Browse files Browse the repository at this point in the history
… Mac plugins r=BenWa
  • Loading branch information
karlt committed Oct 31, 2012
1 parent bec4c80 commit a6ca5c8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions layout/generic/nsObjectFrame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1546,11 +1546,6 @@ nsObjectFrame::UpdateImageLayer(const gfxRect& aRect)
#ifdef XP_MACOSX
if (!mInstanceOwner->UseAsyncRendering()) {
mInstanceOwner->DoCocoaEventDrawRect(aRect, nullptr);
// This makes sure the image on the container is up to date.
// XXX - Eventually we probably just want to make sure DoCocoaEventDrawRect
// updates the image container, to make this truly use 'push' semantics
// too.
mInstanceOwner->GetImageContainer();
}
#endif
}
Expand Down

0 comments on commit a6ca5c8

Please sign in to comment.