⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 136196 in webkit


Ignore:
Timestamp:
Nov 29, 2012, 6:28:37 PM (14 years ago)
Author:
commit-queue@webkit.org
Message:

Unreviewed, rolling out r136167.
​http://trac.webkit.org/changeset/136167
​https://bugs.webkit.org/show_bug.cgi?id=103701

Win debug build failure (Requested by zhenyao on #webkit).

Patch by Sheriff Bot <​webkit.review.bot@gmail.com> on 2012-11-29

  • platform/graphics/chromium/LazyDecodingPixelRef.cpp:

(WebCore::LazyDecodingPixelRef::LazyDecodingPixelRef):

  • platform/graphics/chromium/LazyDecodingPixelRef.h:

(LazyDecodingPixelRef):

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r136194 r136196  
     12012-11-29  Sheriff Bot  <webkit.review.bot@gmail.com>
     2
     3        Unreviewed, rolling out r136167.
     4        http://trac.webkit.org/changeset/136167
     5        https://bugs.webkit.org/show_bug.cgi?id=103701
     6
     7        Win debug build failure (Requested by zhenyao on #webkit).
     8
     9        * platform/graphics/chromium/LazyDecodingPixelRef.cpp:
     10        (WebCore::LazyDecodingPixelRef::LazyDecodingPixelRef):
     11        * platform/graphics/chromium/LazyDecodingPixelRef.h:
     12        (LazyDecodingPixelRef):
     13
    1142012-11-29  David Grogan  <dgrogan@chromium.org>
    215
  • trunk/Source/WebCore/platform/graphics/chromium/LazyDecodingPixelRef.cpp

    r136167 r136196  
    3535
    3636LazyDecodingPixelRef::LazyDecodingPixelRef(PassRefPtr<ImageFrameGenerator> frameGenerator, const SkISize& scaledSize, const SkIRect& scaledSubset)
    37     : m_frameGenerator(frameGenerator)
     37    : SkPixelRef(0)
     38    , m_frameGenerator(frameGenerator)
    3839    , m_scaledSize(scaledSize)
    3940    , m_scaledSubset(scaledSubset)
    … …  
    9091}
    9192
    92 bool LazyDecodingPixelRef::PrepareToDecode(const LazyPixelRef::PrepareParams& params)
    93 {
    94     MutexLocker lock(m_mutex);
    95     // TODO: check if only a particular rect is available in image cache.
    96     UNUSED_PARAM(params);
    97     return ImageDecodingStore::instance()->lockCompleteCache(m_frameGenerator.get(), m_scaledSize);
    98 }
    99 
    100 void LazyDecodingPixelRef::Decode()
    101 {
    102     lockPixels();
    103     unlockPixels();
    104 }
    105 
    106 
    10793} // namespace WebKit
  • trunk/Source/WebCore/platform/graphics/chromium/LazyDecodingPixelRef.h

    r136167 r136196  
    2727#define LazyDecodingPixelRef_h
    2828
     29#include "SkTypes.h"
    2930#include "SkFlattenableBuffers.h"
    3031#include "SkPixelRef.h"
    3132#include "SkRect.h"
    3233#include "SkSize.h"
    33 #include "SkTypes.h"
    34 #include "skia/ext/lazy_pixel_ref.h"
    3534
    3635#include <wtf/RefPtr.h>
    3736#include <wtf/ThreadingPrimitives.h>
    38 
    39 using skia::LazyPixelRef;
    4037
    4138namespace WebCore {
    … …  
    4441class ScaledImageFragment;
    4542
    46 class LazyDecodingPixelRef : public LazyPixelRef {
     43class LazyDecodingPixelRef : public SkPixelRef {
    4744public:
    4845    LazyDecodingPixelRef(PassRefPtr<ImageFrameGenerator>, const SkISize& scaledSize, const SkIRect& scaledSubset);
    … …  
    5451    bool isScaled(const SkISize& fullSize) const;
    5552    bool isClipped() const;
    56 
    57     virtual bool PrepareToDecode(const LazyPixelRef::PrepareParams&);
    58     virtual void Decode();
    5953
    6054protected:
Note: See TracChangeset for help on using the changeset viewer.