Index: content/child/npapi/webplugin_delegate_impl_win.cc |
diff --git a/content/child/npapi/webplugin_delegate_impl_win.cc b/content/child/npapi/webplugin_delegate_impl_win.cc |
index 1b2e866f5d374d093485d245be71776b589e1b7f..7781c5a5ed89d439d090aa38c9fc8231f726c944 100644 |
--- a/content/child/npapi/webplugin_delegate_impl_win.cc |
+++ b/content/child/npapi/webplugin_delegate_impl_win.cc |
@@ -508,7 +508,8 @@ bool WebPluginDelegateImpl::WindowedCreatePlugin() { |
std::wstring plugin_name = plugin_lib->plugin_info().name; |
if (!plugin_name.empty()) { |
ATOM plugin_name_atom = GlobalAddAtomW(plugin_name.c_str()); |
- DCHECK_NE(0, plugin_name_atom); |
+ DCHECK_NE(0, plugin_name_atom) << " last error = " << |
scottmg
2014/08/27 16:58:56
DPCHECK_NE? ... oh, apparently we only have DPCHEC
|
+ GetLastError(); |
result = SetProp(windowed_handle_, |
kPluginNameAtomProperty, |
reinterpret_cast<HANDLE>(plugin_name_atom)); |