mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-26 08:58:18 +01:00
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:
parent
fc3d05f01d
commit
ed535dcb2a
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user