Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1178)

Unified Diff: Source/platform/graphics/FrameData.h

Issue 1008243003: Nuke NativeImageSkia -- new version. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add more WARN_UNUSED_RETURN goodness Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/graphics/DeferredImageDecoderTest.cpp ('k') | Source/platform/graphics/FrameData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/FrameData.h
diff --git a/Source/platform/graphics/FrameData.h b/Source/platform/graphics/FrameData.h
index e6bb78091a38bb263e5aefda1a12ea41a9983e85..b18f1551929453b895d42e9fa6683423836ba128 100644
--- a/Source/platform/graphics/FrameData.h
+++ b/Source/platform/graphics/FrameData.h
@@ -29,14 +29,13 @@
#define FrameData_h
#include "platform/graphics/ImageOrientation.h"
+#include "third_party/skia/include/core/SkBitmap.h"
#include "wtf/Noncopyable.h"
#include "wtf/RefPtr.h"
#include "wtf/VectorTraits.h"
namespace blink {
-class NativeImageSkia;
-
struct FrameData {
WTF_MAKE_NONCOPYABLE(FrameData);
public:
@@ -47,7 +46,7 @@ public:
// Returns whether there was cached image data to clear.
bool clear(bool clearMetadata);
- RefPtr<NativeImageSkia> m_frame;
+ SkBitmap m_frame;
ImageOrientation m_orientation;
float m_duration;
bool m_haveMetadata : 1;
« no previous file with comments | « Source/platform/graphics/DeferredImageDecoderTest.cpp ('k') | Source/platform/graphics/FrameData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698