From 026b1fbe1ea17febe1efe79ed2b20a7e6e71bce6 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Thu, 6 Feb 2014 22:33:42 +0000 Subject: [PATCH] Avoid crash when building Chrome with CEF patches applied. git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1750@1601 5089003a-bbd8-11dd-ad1f-f1f9622dbc98 --- patch/patches/views_widget_180.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/patch/patches/views_widget_180.patch b/patch/patches/views_widget_180.patch index d922de23c..29503c420 100644 --- a/patch/patches/views_widget_180.patch +++ b/patch/patches/views_widget_180.patch @@ -35,6 +35,18 @@ Index: desktop_aura/desktop_screen_win.cc aura::WindowEventDispatcher* dispatcher = window->GetDispatcher(); return dispatcher ? dispatcher->host()->GetAcceleratedWidget() : NULL; } +Index: widget.cc +=================================================================== +--- widget.cc (revision 247552) ++++ widget.cc (working copy) +@@ -126,6 +126,7 @@ + show_state(ui::SHOW_STATE_DEFAULT), + double_buffer(false), + parent(NULL), ++ parent_widget(NULL), + native_widget(NULL), + desktop_root_window_host(NULL), + top_level(false), Index: widget.h =================================================================== --- widget.h (revision 247552)