From b8eb85cd2fae475f17b713b6739ede545a78f647 Mon Sep 17 00:00:00 2001 From: reed Date: Thu, 4 Dec 2014 03:48:34 -0800 Subject: [PATCH] make clear private (before we delete it) BUG=skia: Review URL: https://codereview.chromium.org/781593002 --- include/core/SkDevice.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h index 833e452..962e709 100644 --- a/include/core/SkDevice.h +++ b/include/core/SkDevice.h @@ -161,10 +161,12 @@ protected: virtual void setMatrixClip(const SkMatrix&, const SkRegion&, const SkClipStack&) {}; +private: /** Clears the entire device to the specified color (including alpha). * Ignores the clip. */ virtual void clear(SkColor color) = 0; +public: /** These are called inside the per-device-layer loop for each draw call. When these are called, we have already applied any saveLayer operations, -- 2.7.4