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

Unified Diff: content/browser/frame_host/interstitial_page_impl.h

Issue 2903593003: Fix crash bug http://crbug.com/725594 (Closed)
Patch Set: Use std::unique_ptr to control the lifetime of FrameTree obviously Created 3 years, 7 months 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
Index: content/browser/frame_host/interstitial_page_impl.h
diff --git a/content/browser/frame_host/interstitial_page_impl.h b/content/browser/frame_host/interstitial_page_impl.h
index 26beb24780b5c0264c90490a0164ac1378c4219b..71c33a0ee760bcfb0d2ed60c30cefd57bd3f4c38 100644
--- a/content/browser/frame_host/interstitial_page_impl.h
+++ b/content/browser/frame_host/interstitial_page_impl.h
@@ -265,7 +265,7 @@ class CONTENT_EXPORT InterstitialPageImpl
RenderViewHostImpl* render_view_host_;
// The frame tree structure of the current page.
- FrameTree frame_tree_;
+ std::unique_ptr<FrameTree> frame_tree_;
// The IDs for the Render[View|Process]Host hidden by this interstitial.
int original_child_id_;

Powered by Google App Engine
This is Rietveld 408576698