Chromium Code Reviews

Unified Diff: Source/WebCore/platform/graphics/skia/PlatformContextSkia.cpp

Issue 7119002: Merge 88258 - 2011-06-07 Alok Priyadarshi <alokp@chromium.org> (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « Source/WebCore/ChangeLog ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/graphics/skia/PlatformContextSkia.cpp
===================================================================
--- Source/WebCore/platform/graphics/skia/PlatformContextSkia.cpp (revision 88271)
+++ Source/WebCore/platform/graphics/skia/PlatformContextSkia.cpp (working copy)
@@ -750,7 +750,7 @@
SkDevice* device = factory->newDevice(m_canvas, SkBitmap::kARGB_8888_Config, drawingBuffer->size().width(), drawingBuffer->size().height(), false, false);
// FIXME: This should use a smart pointer.
m_canvas->setDevice(device)->unref();
- m_canvas->setDeviceFactory(factory);
+ m_canvas->setDeviceFactory(factory)->unref();
} else
m_accelerationMode = GPU;
} else {
« no previous file with comments | « Source/WebCore/ChangeLog ('k') | no next file » | no next file with comments »

Powered by Google App Engine