diff options
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) { |