Upstream version 11.39.250.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / platform / mac / LocalCurrentGraphicsContext.mm
index 1737cc9..4f4935f 100644 (file)
@@ -29,7 +29,9 @@ namespace blink {
 
 LocalCurrentGraphicsContext::LocalCurrentGraphicsContext(GraphicsContext* graphicsContext, IntRect dirtyRect)
     : m_didSetGraphicsContext(false)
-    , m_skiaBitLocker(graphicsContext->canvas(), ThemeMac::inflateRectForAA(dirtyRect))
+    , m_skiaBitLocker(graphicsContext->canvas(),
+                      ThemeMac::inflateRectForAA(dirtyRect),
+                      graphicsContext->deviceScaleFactor())
 {
     m_savedGraphicsContext = graphicsContext;
     graphicsContext->save();
@@ -65,9 +67,4 @@ CGContextRef LocalCurrentGraphicsContext::cgContext()
     return cgContext;
 }
 
-ContextContainer::ContextContainer(GraphicsContext* graphicsContext) 
-    : m_skiaBitLocker(graphicsContext->canvas())
-{
-}
-
 }