summaryrefslogtreecommitdiffstats
path: root/skia/ext/platform_canvas.cc
diff options
context:
space:
mode:
authorreed@google.com <reed@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-01 15:40:29 +0000
committerreed@google.com <reed@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-01 15:40:29 +0000
commitf7d1f758a9f21fe3165a11552074bbed99b676cf (patch)
tree3bbae5bbd9bba97005b43affc7cfeb29251a4d63 /skia/ext/platform_canvas.cc
parent0e50fc4dadb1575d3b7e1c05dd4b4b5d2085c3a9 (diff)
downloadchromium_src-f7d1f758a9f21fe3165a11552074bbed99b676cf.zip
chromium_src-f7d1f758a9f21fe3165a11552074bbed99b676cf.tar.gz
chromium_src-f7d1f758a9f21fe3165a11552074bbed99b676cf.tar.bz2
Remove (now obsolete) IsNativeFontRendering api
Review URL: http://codereview.chromium.org/7482045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94905 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext/platform_canvas.cc')
-rw-r--r--skia/ext/platform_canvas.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/skia/ext/platform_canvas.cc b/skia/ext/platform_canvas.cc
index df7ded6..3318bf8 100644
--- a/skia/ext/platform_canvas.cc
+++ b/skia/ext/platform_canvas.cc
@@ -40,10 +40,8 @@ SkDevice* GetTopDevice(const SkCanvas& canvas) {
}
bool SupportsPlatformPaint(const SkCanvas* canvas) {
- // TODO(alokp): Rename IsNativeFontRenderingAllowed after removing these
- // calls from WebKit.
PlatformDevice* platform_device = GetPlatformDevice(GetTopDevice(*canvas));
- return platform_device && platform_device->IsNativeFontRenderingAllowed();
+ return platform_device;
}
PlatformSurface BeginPlatformPaint(SkCanvas* canvas) {