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

Unified Diff: Source/core/platform/graphics/GraphicsContext.h

Issue 14550002: Making GraphicsContext the owner of PlatformContext. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix the Windows build. Created 7 years, 8 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
Index: Source/core/platform/graphics/GraphicsContext.h
diff --git a/Source/core/platform/graphics/GraphicsContext.h b/Source/core/platform/graphics/GraphicsContext.h
index 892fdcf045196673a02e6be1fdaa9c8794168072..2507d953657668080ddbca458d78708636a5b2b7 100644
--- a/Source/core/platform/graphics/GraphicsContext.h
+++ b/Source/core/platform/graphics/GraphicsContext.h
@@ -50,7 +50,6 @@
namespace WebCore {
class PlatformContextSkia;
-typedef PlatformContextSkia GraphicsContextPlatformPrivate;
}
typedef WebCore::PlatformContextSkia PlatformGraphicsContext;
@@ -155,7 +154,7 @@ namespace WebCore {
class GraphicsContext {
WTF_MAKE_NONCOPYABLE(GraphicsContext); WTF_MAKE_FAST_ALLOCATED;
public:
- GraphicsContext(PlatformGraphicsContext*);
+ GraphicsContext(SkCanvas*);
jamesr 2013/04/29 23:56:17 nit: not your fault, but this c'tor should be expl
~GraphicsContext();
PlatformGraphicsContext* platformContext() const;
@@ -388,7 +387,7 @@ namespace WebCore {
return value;
}
- GraphicsContextPlatformPrivate* m_data;
+ PlatformContextSkia* m_data;
GraphicsContextState m_state;
Vector<GraphicsContextState> m_stack;

Powered by Google App Engine
This is Rietveld 408576698