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
This commit is contained in:
Marshall Greenblatt
2014-02-06 22:33:42 +00:00
parent ff6d6e60ee
commit 026b1fbe1e

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 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 Index: widget.h
=================================================================== ===================================================================
--- widget.h (revision 247552) --- widget.h (revision 247552)