Changeset 84838 in webkit


Ignore:
Timestamp:
Apr 25, 2011 4:39:06 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-04-25 Huang Dongsung <luxtella@company100.net>

Reviewed by Dirk Schulze.

[Skia] Remove an unused local variable in PlatformContextSkia::readbackHardwareToSoftware().
https://bugs.webkit.org/show_bug.cgi?id=59308

An unused local variable is created and even allocates heap memory.

  • platform/graphics/skia/PlatformContextSkia.cpp: (WebCore::PlatformContextSkia::readbackHardwareToSoftware):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r84837 r84838  
     12011-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
    1132011-04-25  Geoffrey Garen  <ggaren@apple.com>
    214
  • trunk/Source/WebCore/platform/graphics/skia/PlatformContextSkia.cpp

    r84545 r84838  
    5959
    6060#include <wtf/MathExtras.h>
    61 #include <wtf/OwnArrayPtr.h>
    6261#include <wtf/Vector.h>
    6362
     
    893892    SkAutoLockPixels lock(bitmap);
    894893    int width = bitmap.width(), height = bitmap.height();
    895     OwnArrayPtr<uint32_t> buf = adoptArrayPtr(new uint32_t[width]);
    896894    SharedGraphicsContext3D* context = m_gpuCanvas->context();
    897895    m_gpuCanvas->bindFramebuffer();
Note: See TracChangeset for help on using the changeset viewer.