Commit 4e36da13 authored by jschuh@chromium.org's avatar jschuh@chromium.org

RenderWidgetHostViewWin::ReparentWindow should call RemovePropW if...

RenderWidgetHostViewWin::ReparentWindow should call RemovePropW if kNativeWindowClassFilterProp is set.

BUG=94402
TEST=None.
Review URL: http://codereview.chromium.org/7757004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98510 0039d316-1c4b-4281-b951-d872f2087c98
parent 532faad4
......@@ -472,7 +472,7 @@ HWND RenderWidgetHostViewWin::ReparentWindow(HWND window) {
// chrome_content_client.cc ChromeContentClient::SandboxPlugin
g_ChangeWindowMessageFilterEx(parent, WM_MOUSEWHEEL, MSGFLT_ALLOW, NULL);
g_ChangeWindowMessageFilterEx(parent, WM_GESTURE, MSGFLT_ALLOW, NULL);
::SetPropW(orig_parent, webkit::npapi::kNativeWindowClassFilterProp, NULL);
::RemovePropW(orig_parent, webkit::npapi::kNativeWindowClassFilterProp);
}
::SetParent(window, parent);
BrowserThread::PostTask(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment