diff options
author | reed@google.com <reed@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-01 15:40:29 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-01 15:40:29 +0000 |
commit | f7d1f758a9f21fe3165a11552074bbed99b676cf (patch) | |
tree | 3bbae5bbd9bba97005b43affc7cfeb29251a4d63 /skia/ext/platform_canvas.cc | |
parent | 0e50fc4dadb1575d3b7e1c05dd4b4b5d2085c3a9 (diff) | |
download | chromium_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.cc | 4 |
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) { |