Changeset 82608 in webkit
- Timestamp:
- Mar 31, 2011 1:05:05 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r82605 r82608 1 2011-03-31 Adam Roben <aroben@apple.com> 2 3 Update WKCACFViewLayerTreeHost for changes to WKCACFView API 4 5 This should not result in any change in behavior. 6 7 Fixes <http://webkit.org/b/57560> WKCACFViewLayerTreeHost needs to tell WKCACFView where to 8 render 9 10 Reviewed by Darin Adler. 11 12 * platform/graphics/ca/win/WKCACFViewLayerTreeHost.cpp: Updated API declarations. 13 (WebCore::WKCACFViewLayerTreeHost::WKCACFViewLayerTreeHost): Tell WKCACFView it should 14 render into the window we give it. 15 1 16 2011-03-31 Marius Storm-Olsen <marius.storm-olsen@nokia.com> 2 17 -
trunk/Source/WebCore/platform/graphics/ca/win/WKCACFViewLayerTreeHost.cpp
r76858 r82608 43 43 #endif 44 44 45 SOFT_LINK(WebKitQuartzCoreAdditions, WKCACFViewCreate, WKCACFViewRef, __cdecl, (), ()) 45 enum WKCACFViewDrawingDestination { 46 kWKCACFViewDrawingDestinationWindow = 0, 47 kWKCACFViewDrawingDestinationImage, 48 }; 49 typedef enum WKCACFViewDrawingDestination WKCACFViewDrawingDestination; 50 51 SOFT_LINK(WebKitQuartzCoreAdditions, WKCACFViewCreate, WKCACFViewRef, __cdecl, (WKCACFViewDrawingDestination destination), (destination)) 46 52 SOFT_LINK(WebKitQuartzCoreAdditions, WKCACFViewSetLayer, void, __cdecl, (WKCACFViewRef view, CACFLayerRef layer), (view, layer)) 47 53 SOFT_LINK(WebKitQuartzCoreAdditions, WKCACFViewUpdate, void, __cdecl, (WKCACFViewRef view, HWND window, const CGRect* bounds), (view, window, bounds)) … … 64 70 65 71 WKCACFViewLayerTreeHost::WKCACFViewLayerTreeHost() 66 : m_view(AdoptCF, WKCACFViewCreate( ))72 : m_view(AdoptCF, WKCACFViewCreate(kWKCACFViewDrawingDestinationWindow)) 67 73 , m_viewNeedsUpdate(true) 68 74 {
Note: See TracChangeset
for help on using the changeset viewer.