| Index: chrome/browser/external_tab_container.cc
|
| ===================================================================
|
| --- chrome/browser/external_tab_container.cc (revision 17018)
|
| +++ chrome/browser/external_tab_container.cc (working copy)
|
| @@ -124,8 +124,10 @@
|
|
|
| // static
|
| bool ExternalTabContainer::IsExternalTabContainer(HWND window) {
|
| - std::wstring class_name = win_util::GetClassName(window);
|
| - return _wcsicmp(class_name.c_str(), chrome::kExternalTabWindowClass) == 0;
|
| + if (GetProp(window, kWindowObjectKey) != NULL)
|
| + return true;
|
| +
|
| + return false;
|
| }
|
|
|
| // static
|
|
|