make clear private (before we delete it)
authorreed <reed@google.com>
Thu, 4 Dec 2014 11:48:34 +0000 (03:48 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 4 Dec 2014 11:48:34 +0000 (03:48 -0800)
BUG=skia:

Review URL: https://codereview.chromium.org/781593002

include/core/SkDevice.h

index 833e452..962e709 100644 (file)
@@ -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,