Changeset 40490 in webkit
- Timestamp:
- Feb 2, 2009 1:35:02 PM (15 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r40488 r40490 1 2009-02-02 Brent Fulgham <bfulgham@webkit.org> 2 3 Reviewed by George Staikos. 4 5 Fixes https://bugs.webkit.org/show_bug.cgi?id=23691. 6 Correct build break caused by @r40366 by moving the 7 common code implmentations from GraphicsContextCGWin.cpp 8 into the base Windows class (GraphicsContextWin.cpp). Also 9 move inTransparencyLayer since it is identical in both 10 children. 11 12 * platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h: 13 Added member m_shouldIncludeChildWindows to Windows version, 14 similar to GraphicsContextPlatformPrivateCG.h. 15 * platform/graphics/win/GraphicsContextCGWin.cpp: Remove the 16 implementations of shouldIncludeChildWindows, 17 setShouldIncludeChildWindows, and inTransparencyLayer. 18 * platform/graphics/win/GraphicsContextCairoWin.cpp: Remove 19 the implementation of inTransparencyLayer. 20 * platform/graphics/win/GraphicsContextWin.cpp: Move common code 21 from GraphicsContextCGWin.cpp and GraphicsContextCairoWin.cpp. 22 (WebCore::GraphicsContext::inTransparencyLayer): 23 (WebCore::GraphicsContext::setShouldIncludeChildWindows): 24 (WebCore::GraphicsContext::shouldIncludeChildWindows): 25 1 26 2009-02-02 Darin Adler <darin@apple.com> 2 27 -
trunk/WebCore/platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h
r39635 r40490 52 52 , m_hdc(0) 53 53 , m_transparencyCount(0) 54 , m_shouldIncludeChildWindows(false) 54 55 #endif 55 56 { … … 95 96 HDC m_hdc; 96 97 unsigned m_transparencyCount; 98 bool m_shouldIncludeChildWindows; 97 99 #endif 98 100 }; -
trunk/WebCore/platform/graphics/win/GraphicsContextCGWin.cpp
r40366 r40490 77 77 } 78 78 79 bool GraphicsContext::inTransparencyLayer() const { return m_data->m_transparencyCount; }80 81 79 // FIXME: Is it possible to merge getWindowsContext and createWindowsBitmap into a single API 82 80 // suitable for all clients? … … 174 172 } 175 173 176 void GraphicsContext::setShouldIncludeChildWindows(bool include)177 {178 m_data->m_shouldIncludeChildWindows = include;179 }180 181 bool GraphicsContext::shouldIncludeChildWindows() const182 {183 return m_data->m_shouldIncludeChildWindows;184 }185 186 174 GraphicsContext::WindowsBitmap::WindowsBitmap(HDC hdc, IntSize size) 187 175 : m_hdc(0) -
trunk/WebCore/platform/graphics/win/GraphicsContextCairoWin.cpp
r39635 r40490 88 88 } 89 89 90 bool GraphicsContext::inTransparencyLayer() const { return m_data->m_transparencyCount; }91 92 90 void GraphicsContext::releaseWindowsContext(HDC hdc, const IntRect& dstRect, bool supportAlphaBlend, bool mayCreateBitmap) 93 91 { -
trunk/WebCore/platform/graphics/win/GraphicsContextWin.cpp
r39635 r40490 43 43 44 44 class SVGResourceImage; 45 46 bool GraphicsContext::inTransparencyLayer() const { return m_data->m_transparencyCount; } 47 48 void GraphicsContext::setShouldIncludeChildWindows(bool include) 49 { 50 m_data->m_shouldIncludeChildWindows = include; 51 } 52 53 bool GraphicsContext::shouldIncludeChildWindows() const 54 { 55 return m_data->m_shouldIncludeChildWindows; 56 } 45 57 46 58 void GraphicsContextPlatformPrivate::save()
Note: See TracChangeset
for help on using the changeset viewer.