Changeset 83945 in webkit
- Timestamp:
- Apr 14, 2011 10:18:02 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 added
- 1 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/CMakeListsEfl.txt
r82968 r83945 92 92 platform/graphics/cairo/PatternCairo.cpp 93 93 platform/graphics/cairo/PlatformContextCairo.cpp 94 platform/graphics/cairo/PlatformPathCairo.cpp 94 95 platform/graphics/cairo/RefPtrCairo.cpp 95 96 platform/graphics/cairo/TransformationMatrixCairo.cpp -
trunk/Source/WebCore/ChangeLog
r83944 r83945 1 2011-04-14 Joone Hur <joone.hur@collabora.co.uk> 2 3 Reviewed by Martin Robinson. 4 5 Creating a CairoPath instance is not thread safe 6 https://bugs.webkit.org/show_bug.cgi?id=58514 7 8 This patch allows a cairo surface to be created just one time in order to 9 guarantee thread safety. 10 In addition, CairoPath.{h,cpp} is renamed to PlatformPathCairo.{h,cpp} to 11 prevent confusing them with PathCairo.cpp 12 13 * CMakeListsEfl.txt: Added PlatformPathCairo.cpp 14 * GNUmakefile.list.am: Added PlatformPathCairo.{h,cpp} instead of CairoPath.h. 15 * platform/graphics/cairo/CairoPath.h: Removed. 16 * platform/graphics/cairo/CairoUtilities.cpp: Include PlatformPathCairo.h instead of CairoPath.h. 17 * platform/graphics/cairo/GraphicsContextCairo.cpp: Ditto. 18 * platform/graphics/cairo/PathCairo.cpp: Ditto. 19 * platform/graphics/cairo/PlatformPathCairo.cpp: Added. 20 (WebCore::getPathSurface): Getting a static cairo surface. 21 (WebCore::CairoPath::CairoPath): Moved the implementation of the constructor 22 into the CPP file. 23 * platform/graphics/cairo/PlatformPathCairo.h: Renamed CairoPath.h to this. 24 (WebCore::CairoPath::~CairoPath): 25 (WebCore::CairoPath::context): 26 1 27 2011-04-14 Nat Duca <nduca@chromium.org> 2 28 -
trunk/Source/WebCore/GNUmakefile.list.am
r83884 r83945 3684 3684 Source/WebCore/page/gtk/EventHandlerGtk.cpp \ 3685 3685 Source/WebCore/page/gtk/FrameGtk.cpp \ 3686 Source/WebCore/platform/graphics/cairo/CairoPath.h \3687 3686 Source/WebCore/platform/graphics/cairo/CairoUtilities.cpp \ 3688 3687 Source/WebCore/platform/graphics/cairo/CairoUtilities.h \ … … 3703 3702 Source/WebCore/platform/graphics/cairo/PlatformContextCairo.cpp \ 3704 3703 Source/WebCore/platform/graphics/cairo/PlatformContextCairo.h \ 3704 Source/WebCore/platform/graphics/cairo/PlatformPathCairo.h \ 3705 Source/WebCore/platform/graphics/cairo/PlatformPathCairo.cpp \ 3705 3706 Source/WebCore/platform/graphics/cairo/RefPtrCairo.cpp \ 3706 3707 Source/WebCore/platform/graphics/cairo/RefPtrCairo.h \ -
trunk/Source/WebCore/platform/graphics/cairo/CairoUtilities.cpp
r76697 r83945 28 28 29 29 #include "AffineTransform.h" 30 #include "CairoPath.h"31 30 #include "Color.h" 32 31 #include "FloatPoint.h" … … 35 34 #include "OwnPtrCairo.h" 36 35 #include "Path.h" 36 #include "PlatformPathCairo.h" 37 37 #include "RefPtrCairo.h" 38 38 #include <wtf/Vector.h> -
trunk/Source/WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp
r83226 r83945 36 36 37 37 #include "AffineTransform.h" 38 #include "CairoPath.h"39 38 #include "CairoUtilities.h" 40 39 #include "ContextShadow.h" … … 49 48 #include "Pattern.h" 50 49 #include "PlatformContextCairo.h" 50 #include "PlatformPathCairo.h" 51 51 #include "RefPtrCairo.h" 52 52 #include "SimpleFontData.h" -
trunk/Source/WebCore/platform/graphics/cairo/PathCairo.cpp
r80557 r83945 28 28 29 29 #include "AffineTransform.h" 30 #include "CairoPath.h"31 30 #include "FloatRect.h" 32 31 #include "GraphicsContext.h" 33 32 #include "OwnPtrCairo.h" 33 #include "PlatformPathCairo.h" 34 34 #include "PlatformString.h" 35 35 #include "StrokeStyleApplier.h"
Note: See TracChangeset
for help on using the changeset viewer.