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

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

Issue 99103006: Moving GraphicsContext and dependencies from core to platform. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final patch - fixes Android Created 7 years 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/DeferredImageDecoder.cpp ('k') | Source/platform/graphics/DiscardablePixelRef.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/DiscardablePixelRef.h
diff --git a/Source/core/platform/graphics/DiscardablePixelRef.h b/Source/platform/graphics/DiscardablePixelRef.h
similarity index 93%
rename from Source/core/platform/graphics/DiscardablePixelRef.h
rename to Source/platform/graphics/DiscardablePixelRef.h
index 0c6a639ae032d01545aa7cd30d85cc96fee75935..d1dd847b12c6a3464dc60158ff4fe98bd44fd8b6 100644
--- a/Source/core/platform/graphics/DiscardablePixelRef.h
+++ b/Source/platform/graphics/DiscardablePixelRef.h
@@ -29,6 +29,7 @@
#include "SkBitmap.h"
#include "SkPixelRef.h"
+#include "platform/PlatformExport.h"
#include "public/platform/WebDiscardableMemory.h"
#include "wtf/OwnPtr.h"
#include "wtf/PassOwnPtr.h"
@@ -36,7 +37,7 @@
namespace WebCore {
// Class for allocating the DiscardablePixelRef object.
-class DiscardablePixelRefAllocator : public SkBitmap::Allocator {
+class PLATFORM_EXPORT DiscardablePixelRefAllocator : public SkBitmap::Allocator {
// SkBitmap::Allocator implementation. The discardable memory allocated
// after this call is locked and will not be purged until next
// onUnlockPixels().
@@ -44,7 +45,7 @@ class DiscardablePixelRefAllocator : public SkBitmap::Allocator {
};
// PixelRef object whose memory can be discarded when pixels are unlocked.
-class DiscardablePixelRef : public SkPixelRef {
+class PLATFORM_EXPORT DiscardablePixelRef : public SkPixelRef {
public:
DiscardablePixelRef(PassOwnPtr<SkMutex>);
~DiscardablePixelRef();
« no previous file with comments | « Source/platform/graphics/DeferredImageDecoder.cpp ('k') | Source/platform/graphics/DiscardablePixelRef.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698