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

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. 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/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
This is Rietveld 408576698