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

Unified Diff: Source/platform/mac/LocalCurrentGraphicsContext.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/mac/EmptyProtocolDefinitions.h ('k') | Source/platform/mac/LocalCurrentGraphicsContext.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/mac/LocalCurrentGraphicsContext.h
diff --git a/Source/core/platform/mac/LocalCurrentGraphicsContext.h b/Source/platform/mac/LocalCurrentGraphicsContext.h
similarity index 92%
rename from Source/core/platform/mac/LocalCurrentGraphicsContext.h
rename to Source/platform/mac/LocalCurrentGraphicsContext.h
index 72780e38cfff0e52792df626319da7692c960fcb..95e5b46b7972d431fe8e53015e558adadf7b3bdf 100644
--- a/Source/core/platform/mac/LocalCurrentGraphicsContext.h
+++ b/Source/platform/mac/LocalCurrentGraphicsContext.h
@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
-#include "core/platform/graphics/GraphicsContext.h"
+#include "platform/graphics/GraphicsContext.h"
#include "wtf/Noncopyable.h"
#include "skia/ext/skia_utils_mac.h"
@@ -28,7 +28,7 @@ namespace WebCore {
// This class automatically saves and restores the current NSGraphicsContext for
// functions which call out into AppKit and rely on the currentContext being set
-class LocalCurrentGraphicsContext {
+class PLATFORM_EXPORT LocalCurrentGraphicsContext {
WTF_MAKE_NONCOPYABLE(LocalCurrentGraphicsContext);
public:
LocalCurrentGraphicsContext(GraphicsContext* graphicsContext);
@@ -41,7 +41,7 @@ private:
gfx::SkiaBitLocker m_skiaBitLocker;
};
-class ContextContainer {
+class PLATFORM_EXPORT ContextContainer {
WTF_MAKE_NONCOPYABLE(ContextContainer);
public:
ContextContainer(GraphicsContext*);
« no previous file with comments | « Source/platform/mac/EmptyProtocolDefinitions.h ('k') | Source/platform/mac/LocalCurrentGraphicsContext.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698