| OLD | NEW |
| 1 /* | 1 /* |
| 2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) | 2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) |
| 3 Copyright (C) 2001 Dirk Mueller (mueller@kde.org) | 3 Copyright (C) 2001 Dirk Mueller (mueller@kde.org) |
| 4 Copyright (C) 2002 Waldo Bastian (bastian@kde.org) | 4 Copyright (C) 2002 Waldo Bastian (bastian@kde.org) |
| 5 Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) | 5 Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) |
| 6 Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. | 6 Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. |
| 7 | 7 |
| 8 This library is free software; you can redistribute it and/or | 8 This library is free software; you can redistribute it and/or |
| 9 modify it under the terms of the GNU Library General Public | 9 modify it under the terms of the GNU Library General Public |
| 10 License as published by the Free Software Foundation; either | 10 License as published by the Free Software Foundation; either |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 #include "CachedImageClient.h" | 28 #include "CachedImageClient.h" |
| 29 #include "CachedResourceClient.h" | 29 #include "CachedResourceClient.h" |
| 30 #include "CachedResourceClientWalker.h" | 30 #include "CachedResourceClientWalker.h" |
| 31 #include "CachedResourceLoader.h" | 31 #include "CachedResourceLoader.h" |
| 32 #include "FrameLoaderTypes.h" | 32 #include "FrameLoaderTypes.h" |
| 33 #include "FrameView.h" | 33 #include "FrameView.h" |
| 34 #include "MemoryCache.h" | 34 #include "MemoryCache.h" |
| 35 #include "Page.h" | 35 #include "Page.h" |
| 36 #include "RenderObject.h" | 36 #include "RenderObject.h" |
| 37 #include "ResourceBuffer.h" | 37 #include "ResourceBuffer.h" |
| 38 #include "ResourceLoader.h" | |
| 39 #include "Settings.h" | 38 #include "Settings.h" |
| 39 #include "SubresourceLoader.h" |
| 40 #include <wtf/CurrentTime.h> | 40 #include <wtf/CurrentTime.h> |
| 41 #include <wtf/MemoryInstrumentationHashMap.h> | 41 #include <wtf/MemoryInstrumentationHashMap.h> |
| 42 #include <wtf/MemoryObjectInfo.h> | 42 #include <wtf/MemoryObjectInfo.h> |
| 43 #include <wtf/StdLibExtras.h> | 43 #include <wtf/StdLibExtras.h> |
| 44 #include <wtf/Vector.h> | 44 #include <wtf/Vector.h> |
| 45 | 45 |
| 46 #if ENABLE(SVG) | 46 #if ENABLE(SVG) |
| 47 #include "SVGImage.h" | 47 #include "SVGImage.h" |
| 48 #endif | 48 #endif |
| 49 | 49 |
| (...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 | 458 |
| 459 bool CachedImage::currentFrameKnownToBeOpaque(const RenderObject* renderer) | 459 bool CachedImage::currentFrameKnownToBeOpaque(const RenderObject* renderer) |
| 460 { | 460 { |
| 461 Image* image = imageForRenderer(renderer); | 461 Image* image = imageForRenderer(renderer); |
| 462 if (image->isBitmapImage()) | 462 if (image->isBitmapImage()) |
| 463 image->nativeImageForCurrentFrame(); // force decode | 463 image->nativeImageForCurrentFrame(); // force decode |
| 464 return image->currentFrameKnownToBeOpaque(); | 464 return image->currentFrameKnownToBeOpaque(); |
| 465 } | 465 } |
| 466 | 466 |
| 467 } // namespace WebCore | 467 } // namespace WebCore |
| OLD | NEW |