mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Fix comment about "impossible" render messages.
These messages are not impossible; they happen when a page contains iframes.
This commit is contained in:
parent
a8e8105cea
commit
dc4709dfde
1 changed files with 1 additions and 2 deletions
|
@ -723,8 +723,7 @@ impl Constellation {
|
||||||
|
|
||||||
for current_frame in self.current_frame().iter() {
|
for current_frame in self.current_frame().iter() {
|
||||||
// Messages originating in the current frame are not navigations;
|
// Messages originating in the current frame are not navigations;
|
||||||
// TODO(tkuehn): In fact, this kind of message might be provably
|
// they may come from a page load in a sub-frame.
|
||||||
// impossible to occur.
|
|
||||||
if current_frame.contains(pipeline_id) {
|
if current_frame.contains(pipeline_id) {
|
||||||
for frame in current_frame.iter() {
|
for frame in current_frame.iter() {
|
||||||
frame.pipeline.grant_paint_permission();
|
frame.pipeline.grant_paint_permission();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue