diff options
author | reed@google.com <reed@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-05 14:17:31 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-05 14:17:31 +0000 |
commit | 1e564162d2f11e7b9bfb8e5d9e5df32afdc39a39 (patch) | |
tree | 83630ca4f78b6344cd0b0fd9f1908bb7a4983d8e /skia/ext/platform_canvas_win.cc | |
parent | ca8384f71e1afbe25e5bca6793aebc3ea1218e23 (diff) | |
download | chromium_src-1e564162d2f11e7b9bfb8e5d9e5df32afdc39a39.zip chromium_src-1e564162d2f11e7b9bfb8e5d9e5df32afdc39a39.tar.gz chromium_src-1e564162d2f11e7b9bfb8e5d9e5df32afdc39a39.tar.bz2 |
Stop using deprecated factory API for SkDevice
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91504
Review URL: http://codereview.chromium.org/7273013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91508 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext/platform_canvas_win.cc')
-rw-r--r-- | skia/ext/platform_canvas_win.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/skia/ext/platform_canvas_win.cc b/skia/ext/platform_canvas_win.cc index 116ba66..23e7674 100644 --- a/skia/ext/platform_canvas_win.cc +++ b/skia/ext/platform_canvas_win.cc @@ -77,7 +77,6 @@ void CrashIfInvalidSection(HANDLE shared_section) { #pragma optimize("", on) PlatformCanvas::PlatformCanvas(int width, int height, bool is_opaque) { - setDeviceFactory(SkNEW(BitmapPlatformDeviceFactory))->unref(); bool initialized = initialize(width, height, is_opaque, NULL); if (!initialized) CrashForBitmapAllocationFailure(width, height); @@ -87,7 +86,6 @@ PlatformCanvas::PlatformCanvas(int width, int height, bool is_opaque, HANDLE shared_section) { - setDeviceFactory(SkNEW(BitmapPlatformDeviceFactory))->unref(); bool initialized = initialize(width, height, is_opaque, shared_section); if (!initialized) { CrashIfInvalidSection(shared_section); |