| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2008 Apple Computer, Inc.  All rights reserved. | 2  * Copyright (C) 2008 Apple Computer, Inc.  All rights reserved. | 
| 3  * | 3  * | 
| 4  * Redistribution and use in source and binary forms, with or without | 4  * Redistribution and use in source and binary forms, with or without | 
| 5  * modification, are permitted provided that the following conditions | 5  * modification, are permitted provided that the following conditions | 
| 6  * are met: | 6  * are met: | 
| 7  * 1. Redistributions of source code must retain the above copyright | 7  * 1. Redistributions of source code must retain the above copyright | 
| 8  *    notice, this list of conditions and the following disclaimer. | 8  *    notice, this list of conditions and the following disclaimer. | 
| 9  * 2. Redistributions in binary form must reproduce the above copyright | 9  * 2. Redistributions in binary form must reproduce the above copyright | 
| 10  *    notice, this list of conditions and the following disclaimer in the | 10  *    notice, this list of conditions and the following disclaimer in the | 
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 48     void destroyDecodedData(bool) override { } | 48     void destroyDecodedData(bool) override { } | 
| 49 | 49 | 
| 50     PassRefPtr<SkImage> imageForCurrentFrame() override; | 50     PassRefPtr<SkImage> imageForCurrentFrame() override; | 
| 51 | 51 | 
| 52 protected: | 52 protected: | 
| 53     void drawPattern(GraphicsContext*, const FloatRect&, | 53     void drawPattern(GraphicsContext*, const FloatRect&, | 
| 54         const FloatSize&, const FloatPoint&, SkXfermode::Mode, | 54         const FloatSize&, const FloatPoint&, SkXfermode::Mode, | 
| 55         const FloatRect&, const IntSize& repeatSpacing) final; | 55         const FloatRect&, const IntSize& repeatSpacing) final; | 
| 56 | 56 | 
| 57     // FIXME: Implement this to be less conservative. | 57     // FIXME: Implement this to be less conservative. | 
| 58     bool currentFrameKnownToBeOpaque() override { return false; } | 58     bool currentFrameKnownToBeOpaque(MetadataMode = UseCurrentMetadata) override
     { return false; } | 
| 59 | 59 | 
| 60     GeneratedImage(const IntSize& size) : m_size(size) { } | 60     GeneratedImage(const IntSize& size) : m_size(size) { } | 
| 61 | 61 | 
| 62     virtual void drawTile(GraphicsContext*, const FloatRect&) = 0; | 62     virtual void drawTile(GraphicsContext*, const FloatRect&) = 0; | 
| 63 | 63 | 
| 64     IntSize m_size; | 64     IntSize m_size; | 
| 65 }; | 65 }; | 
| 66 | 66 | 
| 67 } // namespace blink | 67 } // namespace blink | 
| 68 | 68 | 
| 69 #endif | 69 #endif | 
| OLD | NEW | 
|---|