| Index: chrome/common/platform_util_win.cc
|
| ===================================================================
|
| --- chrome/common/platform_util_win.cc (revision 40221)
|
| +++ chrome/common/platform_util_win.cc (working copy)
|
| @@ -136,13 +136,6 @@
|
| return GetAncestor(view, GA_ROOT);
|
| }
|
|
|
| -string16 GetWindowTitle(gfx::NativeWindow window_handle) {
|
| - std::wstring result;
|
| - int length = ::GetWindowTextLength(window_handle) + 1;
|
| - ::GetWindowText(window_handle, WriteInto(&result, length), length);
|
| - return WideToUTF16(result);
|
| -}
|
| -
|
| bool IsWindowActive(gfx::NativeWindow window) {
|
| return ::GetForegroundWindow() == window;
|
| }
|
|
|