Fix comment about "impossible" render messages.

These messages are not impossible; they happen when a page contains iframes.
This commit is contained in:
Matt Brubeck 2014-07-14 17:07:24 -07:00
parent a8e8105cea
commit dc4709dfde

View file

@ -723,8 +723,7 @@ impl Constellation {
for current_frame in self.current_frame().iter() {
// Messages originating in the current frame are not navigations;
// TODO(tkuehn): In fact, this kind of message might be provably
// impossible to occur.
// they may come from a page load in a sub-frame.
if current_frame.contains(pipeline_id) {
for frame in current_frame.iter() {
frame.pipeline.grant_paint_permission();