Changeset 73383 in webkit
- Timestamp:
- Dec 6, 2010 11:59:40 AM (13 years ago)
- Location:
- trunk/WebKit2
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit2/ChangeLog
r73382 r73383 1 2010-12-06 Anders Carlsson <andersca@apple.com> 2 3 Reviewed by Dan Bernstein. 4 5 REGERSSION (r73310?): Contents of <select> popup menus are upside-down on Windows 6 https://bugs.webkit.org/show_bug.cgi?id=50544 7 <rdar://problem/8732336> 8 9 * Shared/BackingStore.cpp: 10 * Shared/BackingStore.h: 11 * Shared/cairo/BackingStoreCairo.cpp: 12 Remove BackingStore::createFlippedGraphicsContext. 13 14 * WebProcess/WebCoreSupport/win/WebPopupMenuWin.cpp: 15 (WebKit::WebPopupMenu::setUpPlatformData): 16 Don't create a flipped graphics context. 17 1 18 2010-12-06 Anders Carlsson <andersca@apple.com> 2 19 -
trunk/WebKit2/Shared/BackingStore.cpp
r73318 r73383 126 126 } 127 127 128 PassOwnPtr<GraphicsContext> BackingStore::createFlippedGraphicsContext()129 {130 OwnPtr<GraphicsContext> graphicsContext = createGraphicsContext();131 132 // Flip the coordinate system.133 graphicsContext->translate(0, m_size.height());134 graphicsContext->scale(FloatSize(1, -1));135 136 return graphicsContext.release();137 }138 139 128 } // namespace WebKit -
trunk/WebKit2/Shared/BackingStore.h
r73318 r73383 63 63 // Create a graphics context that can be used to paint into the backing store. 64 64 PassOwnPtr<WebCore::GraphicsContext> createGraphicsContext(); 65 PassOwnPtr<WebCore::GraphicsContext> createFlippedGraphicsContext();66 65 67 66 // Paint the backing store into the given context. -
trunk/WebKit2/Shared/cairo/BackingStoreCairo.cpp
r71863 r73383 39 39 } 40 40 41 PassOwnPtr<GraphicsContext> BackingStore::createFlippedGraphicsContext()42 {43 notImplemented();44 return 0;45 }46 47 41 void BackingStore::paint(GraphicsContext&, const IntPoint&, const IntRect&) 48 42 { -
trunk/WebKit2/WebProcess/WebCoreSupport/win/WebPopupMenuWin.cpp
r71640 r73383 79 79 data.m_selectedBackingStore = BackingStore::createSharable(data.m_backingStoreSize); 80 80 81 OwnPtr<GraphicsContext> notSelectedBackingStoreContext = data.m_notSelectedBackingStore->create FlippedGraphicsContext();82 OwnPtr<GraphicsContext> selectedBackingStoreContext = data.m_selectedBackingStore->create FlippedGraphicsContext();81 OwnPtr<GraphicsContext> notSelectedBackingStoreContext = data.m_notSelectedBackingStore->createGraphicsContext(); 82 OwnPtr<GraphicsContext> selectedBackingStoreContext = data.m_selectedBackingStore->createGraphicsContext(); 83 83 84 84 Color activeOptionBackgroundColor = RenderTheme::defaultTheme()->activeListBoxSelectionBackgroundColor();
Note: See TracChangeset
for help on using the changeset viewer.