Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(565)

Unified Diff: chrome/browser/ui/views/panels/panel_view.cc

Issue 12094107: Convert to *WindowLongPtr functions for Win64 compatability (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/views/panels/panel_stack_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/panels/panel_view.cc
===================================================================
--- chrome/browser/ui/views/panels/panel_view.cc (revision 180153)
+++ chrome/browser/ui/views/panels/panel_view.cc (working copy)
@@ -180,7 +180,8 @@
// window. Note that owner window, instead of parent window, is returned
// though GWL_HWNDPARENT contains 'parent'.
HWND owner_window =
- reinterpret_cast<HWND>(::GetWindowLong(native_window, GWL_HWNDPARENT));
+ reinterpret_cast<HWND>(::GetWindowLongPtr(native_window,
+ GWLP_HWNDPARENT));
if (!owner_window || !::GetWindowPlacement(owner_window, &placement))
return false;
return placement.showCmd == SW_MINIMIZE ||
« no previous file with comments | « chrome/browser/ui/views/panels/panel_stack_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698