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

Unified Diff: chrome/browser/ui/views/frame/desktop_browser_frame_aura.h

Issue 23523018: Fixes use after free during drag and drop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge 2 trunk Created 7 years, 3 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: chrome/browser/ui/views/frame/desktop_browser_frame_aura.h
diff --git a/chrome/browser/ui/views/frame/desktop_browser_frame_aura.h b/chrome/browser/ui/views/frame/desktop_browser_frame_aura.h
index c7cdd242492c2f0647d570c67d4760782968ec4d..cc060e0b16f7c687ac87edd8ee71cd32549da61e 100644
--- a/chrome/browser/ui/views/frame/desktop_browser_frame_aura.h
+++ b/chrome/browser/ui/views/frame/desktop_browser_frame_aura.h
@@ -42,6 +42,8 @@ class DesktopBrowserFrameAura : public views::DesktopNativeWidgetAura,
BrowserView* browser_view() const { return browser_view_; }
protected:
+ virtual ~DesktopBrowserFrameAura();
+
// Overridden from views::DesktopNativeWidgetAura:
virtual void InitNativeWidget(
const views::Widget::InitParams& params) OVERRIDE;
@@ -55,8 +57,6 @@ class DesktopBrowserFrameAura : public views::DesktopNativeWidgetAura,
virtual void TabStripDisplayModeChanged() OVERRIDE;
private:
- virtual ~DesktopBrowserFrameAura();
-
// The BrowserView is our ClientView. This is a pointer to it.
BrowserView* browser_view_;
BrowserFrame* browser_frame_;
« no previous file with comments | « chrome/browser/ui/views/frame/browser_frame_win.cc ('k') | chrome/browser/ui/views/frame/desktop_browser_frame_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698