• tomhudson's avatar
    Limit manual control of platform painting · 7b79fb02
    tomhudson authored
    Platform painting should be through skia::ScopedPlatformPaint.
    (Only one compositor callsite was calling Begin/End directly.)
    
    Remove skia::EndPlatformPaint() and all device-specific implementations,
    which were effectively noops.
    
    Remove skia::BeginPlatformPaint(), and make all device-specific impls
    protected.
    
    BUG=598695
    R=fmalita@chromium.org
    TBR=danakj@chromium.org
    
    Review URL: https://codereview.chromium.org/1839113002
    
    Cr-Commit-Position: refs/heads/master@{#383820}
    7b79fb02
platform_device.h 4.03 KB