Changeset 84838 in webkit
- Timestamp:
- Apr 25, 2011 4:39:06 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r84837 r84838 1 2011-04-25 Huang Dongsung <luxtella@company100.net> 2 3 Reviewed by Dirk Schulze. 4 5 [Skia] Remove an unused local variable in PlatformContextSkia::readbackHardwareToSoftware(). 6 https://bugs.webkit.org/show_bug.cgi?id=59308 7 8 An unused local variable is created and even allocates heap memory. 9 10 * platform/graphics/skia/PlatformContextSkia.cpp: 11 (WebCore::PlatformContextSkia::readbackHardwareToSoftware): 12 1 13 2011-04-25 Geoffrey Garen <ggaren@apple.com> 2 14 -
trunk/Source/WebCore/platform/graphics/skia/PlatformContextSkia.cpp
r84545 r84838 59 59 60 60 #include <wtf/MathExtras.h> 61 #include <wtf/OwnArrayPtr.h>62 61 #include <wtf/Vector.h> 63 62 … … 893 892 SkAutoLockPixels lock(bitmap); 894 893 int width = bitmap.width(), height = bitmap.height(); 895 OwnArrayPtr<uint32_t> buf = adoptArrayPtr(new uint32_t[width]);896 894 SharedGraphicsContext3D* context = m_gpuCanvas->context(); 897 895 m_gpuCanvas->bindFramebuffer();
Note: See TracChangeset
for help on using the changeset viewer.