зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
98c768ad34
Коммит
87e7bd7fca
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче