Avoid crash when building Chrome with CEF patches applied.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1600 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2014-02-06 22:33:18 +00:00
parent fc3d05f01d
commit ed535dcb2a

View File

@ -35,6 +35,18 @@ Index: desktop_aura/desktop_screen_win.cc
aura::WindowEventDispatcher* dispatcher = window->GetDispatcher(); aura::WindowEventDispatcher* dispatcher = window->GetDispatcher();
return dispatcher ? dispatcher->host()->GetAcceleratedWidget() : NULL; return dispatcher ? dispatcher->host()->GetAcceleratedWidget() : NULL;
} }
Index: widget.cc
===================================================================
--- widget.cc (revision 248478)
+++ widget.cc (working copy)
@@ -149,6 +149,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 Index: widget.h
=================================================================== ===================================================================
--- widget.h (revision 248478) --- widget.h (revision 248478)