diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-24 16:02:17 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-24 16:02:17 +0000 |
commit | 8acaf58a26ccca92871da8122b08fdf5c17c062e (patch) | |
tree | 20af008baaefde9954304c67ddee919e3eba77b0 | |
parent | dbfbab77839025a16ac5ea2ba3b76cd0d110a9a8 (diff) | |
download | chromium_src-8acaf58a26ccca92871da8122b08fdf5c17c062e.zip chromium_src-8acaf58a26ccca92871da8122b08fdf5c17c062e.tar.gz chromium_src-8acaf58a26ccca92871da8122b08fdf5c17c062e.tar.bz2 |
Add a DCHECK to get more info about flaky NPAPIVisiblePluginTester failures.
Example failure:
[FATAL:render_widget_host_view_win.cc(399)] Check failed: parent.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/220021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27073 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/renderer_host/render_widget_host_view_win.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/renderer_host/render_widget_host_view_win.cc b/chrome/browser/renderer_host/render_widget_host_view_win.cc index bdcafe5..6ff0ed5 100644 --- a/chrome/browser/renderer_host/render_widget_host_view_win.cc +++ b/chrome/browser/renderer_host/render_widget_host_view_win.cc @@ -390,6 +390,7 @@ HWND RenderWidgetHostViewWin::ReparentWindow(HWND window) { wcex.hIconSm = 0; window_class = RegisterClassEx(&wcex); } + DCHECK(window_class); HWND parent = CreateWindowEx( WS_EX_LEFT | WS_EX_LTRREADING | WS_EX_RIGHTSCROLLBAR, |