Changeset 113430 in webkit
- Timestamp:
- Apr 6, 2012 6:50:05 AM (12 years ago)
- Location:
- branches/subpixellayout/Source/WebCore/platform/win
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/subpixellayout/Source/WebCore/platform/win/PopupMenuWin.cpp
r112328 r113430 565 565 const int separatorPadding = 4; 566 566 const int separatorHeight = 1; 567 void PopupMenuWin::paint(const FractionalLayoutRect& damageRect, HDC hdc)567 void PopupMenuWin::paint(const IntRect& damageRect, HDC hdc) 568 568 { 569 569 if (!m_popup) … … 606 606 607 607 // listRect is the damageRect translated into the coordinates of the entire menu list (which is itemCount * m_itemHeight pixels tall) 608 LayoutRect listRect = damageRect;608 IntRect listRect = damageRect; 609 609 listRect.move(IntSize(0, m_scrollOffset * m_itemHeight)); 610 610 … … 663 663 664 664 if (m_scrollbar) 665 m_scrollbar->paint(&context, pixelSnappedIntRect(damageRect));665 m_scrollbar->paint(&context, damageRect); 666 666 667 667 HWndDC hWndDC; -
branches/subpixellayout/Source/WebCore/platform/win/PopupMenuWin.h
r108552 r113430 73 73 void focusLast(); 74 74 75 void paint(const FractionalLayoutRect& damageRect, HDC = 0);75 void paint(const IntRect& damageRect, HDC = 0); 76 76 77 77 HWND popupHandle() const { return m_popup; }
Note: See TracChangeset
for help on using the changeset viewer.