servo: Merge #2837 - Fix comment about "impossible" render messages. r=zwarich (from mbrubeck:comment-fix)

Source-Repo: https://github.com/servo/servo
Source-Revision: ad08a11fa2757e9c49379791d9afc84d73334f50
This commit is contained in:
Matt Brubeck 2014-07-14 18:09:51 -07:00
Родитель 98c768ad34
Коммит 87e7bd7fca
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -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();