Merge pull request #2837 from mbrubeck/comment-fix

Fix comment about "impossible" render messages. r=zwarich
This commit is contained in:
Matt Brubeck 2014-07-14 18:09:51 -07:00
commit ad08a11fa2

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 subframe.
if current_frame.contains(pipeline_id) {
for frame in current_frame.iter() {
frame.pipeline.grant_paint_permission();