Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(683)

Unified Diff: sky/viewer/document_view.cc

Issue 722713003: Sky: Add a test for the <iframe> element (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: . Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/tests/lowlevel/iframe-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/viewer/document_view.cc
diff --git a/sky/viewer/document_view.cc b/sky/viewer/document_view.cc
index 1d9bdea793bd2585e4d86acfabacb75e44c8212f..990ce5127f3660aa9e475eda7d1f68750f8e246c 100644
--- a/sky/viewer/document_view.cc
+++ b/sky/viewer/document_view.cc
@@ -218,9 +218,6 @@ void DocumentView::OnViewBoundsChanged(mojo::View* view,
void DocumentView::OnViewDestroyed(mojo::View* view) {
DCHECK_EQ(view, root_);
- for (auto& child : root_->children())
- child->Destroy();
-
delete this;
}
« no previous file with comments | « sky/tests/lowlevel/iframe-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698