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

Unified Diff: Source/WebKit/chromium/src/painting/GraphicsContextBuilder.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/WebKit/chromium/src/painting/GraphicsContextBuilder.h
diff --git a/Source/WebKit/chromium/src/painting/GraphicsContextBuilder.h b/Source/WebKit/chromium/src/painting/GraphicsContextBuilder.h
index 31247828882a885483f102966cfee8dc9d97c7f0..fd6168ea6a9a9f5b6546e1cece0caf6a5c1a88f6 100644
--- a/Source/WebKit/chromium/src/painting/GraphicsContextBuilder.h
+++ b/Source/WebKit/chromium/src/painting/GraphicsContextBuilder.h
@@ -40,15 +40,13 @@ namespace WebKit {
class GraphicsContextBuilder {
jamesr 2013/04/29 23:56:17 this class can definitely go away (as can WebCanva
public:
GraphicsContextBuilder(WebCanvas* canvas)
- : m_platformContext(canvas)
- , m_graphicsContext(&m_platformContext)
+ : m_graphicsContext(canvas)
{
}
WebCore::GraphicsContext& context() { return m_graphicsContext; }
private:
- WebCore::PlatformContextSkia m_platformContext;
WebCore::GraphicsContext m_graphicsContext;
};

Powered by Google App Engine
This is Rietveld 408576698